mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Unified some package scripts
- reworked lint script to follow the format of others - deleted posttest linting from members-ssr
This commit is contained in:
parent
5940fa630b
commit
03cb00e7fb
2 changed files with 2 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "echo \"Implement me!\"",
|
"dev": "echo \"Implement me!\"",
|
||||||
"test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha --reporter dot './test/**/*.test.js'",
|
"test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha --reporter dot './test/**/*.test.js'",
|
||||||
"lint": "eslint '**/*.js'"
|
"lint": "eslint . --ext .js --cache"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"index.js",
|
"index.js",
|
||||||
|
|
|
@ -9,8 +9,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "echo \"Implement me!\"",
|
"dev": "echo \"Implement me!\"",
|
||||||
"test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'",
|
"test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'",
|
||||||
"lint": "eslint '**/*.js'",
|
"lint": "eslint . --ext .js --cache"
|
||||||
"posttest": "yarn lint"
|
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"index.js",
|
"index.js",
|
||||||
|
|
Loading…
Add table
Reference in a new issue