File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11
11
"live" : " examples/node/player.js"
12
12
},
13
13
"scripts" : {
14
- "lint" : " eslint --ext '.ts,.js' lib/ " ,
14
+ "lint" : " yarn eslint && yarn prettier:check " ,
15
15
"test" : " jest --coverage" ,
16
16
"verify" : " yarn lint && yarn test" ,
17
17
"build" : " yarn build:esm && yarn build:cjs && yarn build:es5 && yarn build:bundle" ,
18
18
"build:esm" : " tsc -p tsconfig.json" ,
19
19
"build:cjs" : " tsc -p tsconfig.cjs.json" ,
20
20
"build:es5" : " tsc -p tsconfig.es5.json" ,
21
21
"build:bundle" : " webpack" ,
22
+ "eslint" : " eslint --ext '.ts,.js' lib/" ,
23
+ "prettier:check" : " prettier --check 'lib/**/*.{ts,js}'" ,
24
+ "prettier:fix" : " prettier --write 'lib/**/*.{ts,js}' --fix --loglevel silent" ,
22
25
"rtsp" : " rtsp-ws-server/start.sh" ,
23
26
"dev" : " webpack --mode development --watch" ,
24
27
"examples" : " webpack --mode development && http-server examples/browser" ,
You can’t perform that action at this time.
0 commit comments