|
17 | 17 | "homepage": "https://github.com/mmiszy/react-with-observable#readme",
|
18 | 18 | "scripts": {
|
19 | 19 | "build": "rimraf build && rollup -c",
|
20 |
| - "test": "npm-run-all -p test:jest test:types", |
21 |
| - "test:ci": "npm-run-all -p test:coverage test:types", |
22 |
| - "test:cypress": "cypress run", |
| 20 | + "test": "npm-run-all -p test:coverage test:types", |
| 21 | + "test:ci": "npm-run-all test", |
23 | 22 | "test:e2e": "npm-run-all build:examples -p --race serve:examples test:cypress",
|
24 |
| - "test:jest": "jest --detectLeaks", |
| 23 | + "test:e2e:ci": "npm-run-all build:examples -p --race serve:examples test:cypress:ci", |
25 | 24 | "test:types": "tslint -c ./tslint.json --project ./tsconfig.json",
|
| 25 | + |
| 26 | + "test:cypress": "cypress run --record", |
| 27 | + "test:cypress:ci": "cypress run --record --parallel --ci-build-id=$BUILD_ID", |
26 | 28 | "test:coverage": "jest --detectLeaks --coverage",
|
| 29 | + |
27 | 30 | "build:examples": "webpack --config examples/webpack.config.js --mode production",
|
28 | 31 | "serve:examples": "http-server ./examples -a localhost -p 8082 -c-1",
|
29 | 32 | "start:examples": "webpack-dev-server --config examples/webpack.config.js",
|
30 | 33 | "deploy:examples": "npm run build:examples && gh-pages --dist examples",
|
31 |
| - "prettier": "prettier --config .prettierrc --write '**/*.{ts,js,tsx,jsx}'", |
32 | 34 | "release": "np --no-yarn",
|
33 | 35 | "prepare": "npm run build",
|
34 | 36 | "postdeploy": "npm run deploy:examples"
|
|
85 | 87 | },
|
86 | 88 | "husky": {
|
87 | 89 | "hooks": {
|
88 |
| - "pre-commit": "pretty-quick --staged", |
89 |
| - "pre-push": "npm test" |
| 90 | + "pre-commit": "pretty-quick --staged" |
90 | 91 | }
|
91 | 92 | }
|
92 | 93 | }
|
0 commit comments