Skip to content

Commit 3ed3f07

Browse files
committed
Add scripts and packages
1 parent c2a8a65 commit 3ed3f07

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

package.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111
"node": "VERSION"
1212
},
1313
"scripts": {
14-
"test": "npx ava ./test/*.js --watch --verbose",
15-
"create": "node scripts/init.js",
16-
"lint": "npx eslint --quiet lib/*.js",
17-
"style": ""
14+
"create": "node ./scripts/init.js",
15+
"test": "npx ava ./test/*.js --verbose",
16+
"test:watch": "npx ava ./test/*.js --watch --verbose",
17+
"lint": "npx estlint --cache ./lib/*.js",
18+
"lint:watch": "esw -w --clear --color --cache ./lib/*.js",
19+
"style": "prettier -c --debug-check ./lib/*.js"
1820
},
1921
"repository": {
2022
"type": "git",
@@ -30,8 +32,11 @@
3032
"devDependencies": {
3133
"ava": "^2.1.0",
3234
"eslint": "^6.0.1",
35+
"eslint-config-airbnb-base": "^13.2.0",
3336
"eslint-config-prettier": "^6.0.0",
37+
"eslint-plugin-import": "^2.18.0",
3438
"eslint-plugin-prettier": "^3.1.0",
39+
"eslint-watch": "^5.1.2",
3540
"prettier": "^1.18.2"
3641
},
3742
"dependencies": {

0 commit comments

Comments
 (0)