chore(scripts): add .js suffix for better Prettier/ESLint integration
This commit is contained in:
parent
6b8a345241
commit
23189ed8f9
12
package.json
12
package.json
@ -32,7 +32,7 @@
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged && scripts/lint-staged"
|
||||
"pre-commit": "lint-staged && scripts/lint-staged.js"
|
||||
}
|
||||
},
|
||||
"jest": {
|
||||
@ -72,10 +72,10 @@
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "scripts/run-script --parallel build",
|
||||
"build": "scripts/run-script.js --parallel build",
|
||||
"ci": "yarn && yarn test-integration",
|
||||
"clean": "scripts/run-script --parallel clean",
|
||||
"dev": "scripts/run-script --parallel dev",
|
||||
"clean": "scripts/run-script.js --parallel clean",
|
||||
"dev": "scripts/run-script.js --parallel dev",
|
||||
"dev-test": "jest --bail --watch \"^(?!.*\\.integ\\.spec\\.js$)\"",
|
||||
"docs:dev": "vuepress dev docs",
|
||||
"docs:build": "vuepress build docs",
|
||||
@ -83,8 +83,8 @@
|
||||
"test": "npm run test-lint && npm run test-unit",
|
||||
"test-integration": "jest \".integ\\.spec\\.js$\"",
|
||||
"test-lint": "eslint --ignore-path .gitignore .",
|
||||
"test-unit": "jest \"^(?!.*\\.integ\\.spec\\.js$)\" && scripts/run-script test",
|
||||
"travis-tests": "scripts/travis-tests"
|
||||
"test-unit": "jest \"^(?!.*\\.integ\\.spec\\.js$)\" && scripts/run-script.js test",
|
||||
"travis-tests": "scripts/travis-tests.js"
|
||||
},
|
||||
"workspaces": [
|
||||
"@*/*",
|
||||
|
Loading…
Reference in New Issue
Block a user