|
8 | 8 | "local": "cross-env GOAL=local run-p server", |
9 | 9 | "lint": "eslint --fix pages/**/*.js components/**/* containers/**/* stores/**/*", |
10 | 10 | "lint:watch": "esw -w pages/**/*.js components/**/* containers/**/* stores/**/*", |
11 | | - "pretest": "npm run lint", |
12 | | - "test": "cross-env NODE_ENV=test jest", |
13 | | - "test:watch": "npm run test -- --watch", |
14 | | - "test:cover": "npm run test -- --coverage", |
15 | 11 | "server": "npm run clean && node server.js", |
16 | 12 | "build": "run-s dist clean", |
17 | 13 | "build:only": "npm run i18n && next build", |
|
24 | 20 | "precommit": "lint-staged", |
25 | 21 | "gen": "plop --plopfile ./utils/scripts/generators/index.js", |
26 | 22 | "analyze": "cross-env ANALYZE=1 next build", |
27 | | - "api:play": "GRAPHQL_CONFIG_ENDPOINT_NAME=mastani graphql playground", |
28 | | - "api:graph": "graphql voyager", |
29 | | - "graph:mastani": "graphql get-schema -e mastani && head ./schema.graphql", |
30 | | - "graph:example": "graphql get-schema -e example && graphql voyager", |
| 23 | + "test": "cross-env NODE_ENV=test GOAL=test jest --config .jest.config.js", |
| 24 | + "test:dev": "cross-env NODE_ENV=dev GOAL=test jest --config .jest.config.js", |
| 25 | + "test:watch": "npm run test -- --watch", |
| 26 | + "test:cover": "npm run test -- --coverage", |
| 27 | + "test:e2e": "cypress open", |
31 | 28 | "coveralls": "cat ./coverage/lcov.info | coveralls", |
32 | 29 | "commitmsg": "commitlint -E GIT_PARAMS" |
33 | 30 | }, |
|
0 commit comments