Use a glob pattern instead of hard-coding filenames
This commit is contained in:
parent
6985a778a0
commit
076bd384d5
|
@ -37,7 +37,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"lint": "eslint '**/*.js'",
|
||||
"test:js": "mocha test/test.js test/lru-cache.js",
|
||||
"test:js": "mocha 'test/**/*.spec.js'",
|
||||
"test": "npm run lint && npm run test:js"
|
||||
},
|
||||
"bin": {
|
||||
|
|
Loading…
Reference in New Issue
Block a user