mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 02:01:40 -05:00
Group similar npm-scripts together for clarity.
This commit is contained in:
parent
4bc253a942
commit
2fdf7b019f
1 changed files with 5 additions and 8 deletions
13
package.json
13
package.json
|
@ -7,20 +7,17 @@
|
|||
"url": "git+https://github.com/apollographql/apollo-server.git"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "lerna run prepare",
|
||||
"clean": "git clean -dfqX **/{dist,node_modules}/",
|
||||
"compile": "lerna run compile",
|
||||
|
||||
"release": "npm run clean && npm ci && lerna publish --exact",
|
||||
"precommit": "lint-staged",
|
||||
"postinstall": "lerna run prepare",
|
||||
"lint": "prettier-check '**/*.{js,ts}'",
|
||||
"lint-fix": "prettier '**/*.{js,ts}' --write",
|
||||
|
||||
"test": "jest --verbose",
|
||||
"posttest": "npm run lint",
|
||||
"testonly": "npm test",
|
||||
"test:watch": "npm test -- --watch",
|
||||
"test:ci": "npm test -- --ci --maxWorkers=2",
|
||||
"release": "npm run clean && npm ci && lerna publish --exact",
|
||||
"precommit": "lint-staged",
|
||||
"clean": "git clean -dfqX **/{dist,node_modules}/"
|
||||
"test:ci": "npm test -- --ci --maxWorkers=2"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.ts": [
|
||||
|
|
Loading…
Add table
Reference in a new issue