|
1 | 1 | { |
2 | | - "name": "graasp-app-code-review-rewrite", |
| 2 | + "name": "graasp-app-code-capsule", |
3 | 3 | "version": "0.1.0", |
4 | 4 | "private": true, |
| 5 | + "license": "AGPL-3.0-only", |
| 6 | + "author": "React EPFL", |
| 7 | + "contributors": [ |
| 8 | + "Juan Carlos Farah", |
| 9 | + "Basile Spaenlehauer" |
| 10 | + ], |
5 | 11 | "dependencies": { |
6 | 12 | "@testing-library/cypress": "^8.0.2", |
7 | 13 | "@testing-library/jest-dom": "^5.14.1", |
|
14 | 20 | "react": "^18.1.0", |
15 | 21 | "react-dom": "^18.1.0", |
16 | 22 | "react-scripts": "5.0.1", |
17 | | - "typescript": "^4.4.2", |
18 | | - "web-vitals": "^2.1.0" |
| 23 | + "typescript": "^4.4.2" |
19 | 24 | }, |
20 | 25 | "scripts": { |
21 | | - "start": "react-scripts start", |
| 26 | + "start": "env-cmd -f ./.env.local react-scripts start", |
| 27 | + "start:test": "env-cmd -f ./.env.test react-scripts -r @cypress/instrument-cra start", |
22 | 28 | "build": "react-scripts build", |
23 | 29 | "test": "react-scripts test", |
24 | 30 | "eject": "react-scripts eject", |
|
27 | 33 | "hooks:install": "husky install", |
28 | 34 | "hooks:uninstall": "husky uninstall", |
29 | 35 | "lint": "eslint .", |
30 | | - "test:once": "yarn test:ci", |
31 | | - "test:ci": "env-cmd -f ./.env.test cypress run" |
| 36 | + "test:once": "concurrently -k -s first \"yarn start:test\" \"wait-on http://localhost:3333 && yarn test:ci\" ", |
| 37 | + "test:ci": "env-cmd -f ./.env.test cypress run --headless" |
32 | 38 | }, |
33 | | - "browserslist": { |
34 | | - "production": [ |
35 | | - ">0.2%", |
36 | | - "not dead", |
37 | | - "not op_mini all" |
38 | | - ], |
39 | | - "development": [ |
40 | | - "last 1 chrome version", |
41 | | - "last 1 firefox version", |
42 | | - "last 1 safari version" |
43 | | - ] |
44 | | - }, |
45 | | - "packageManager": "[email protected]", |
46 | 39 | "devDependencies": { |
47 | 40 | "@commitlint/cli": "16.1.0", |
48 | 41 | "@commitlint/config-conventional": "16.0.0", |
| 42 | + "@cypress/instrument-cra": "^1.4.0", |
49 | 43 | "@typescript-eslint/eslint-plugin": "^5.22.0", |
50 | 44 | "@typescript-eslint/parser": "^5.22.0", |
| 45 | + "concurrently": "^7.1.0", |
51 | 46 | "cypress": "^9.6.0", |
52 | 47 | "eslint": "^8.14.0", |
53 | 48 | "eslint-config-airbnb": "^19.0.4", |
|
61 | 56 | "eslint-plugin-react-hooks": "^4.5.0", |
62 | 57 | "husky": "^7.0.4", |
63 | 58 | "prettier": "^2.6.2", |
64 | | - "pretty-quick": "^3.1.3" |
65 | | - } |
| 59 | + "pretty-quick": "^3.1.3", |
| 60 | + "standard-version": "^9.3.2" |
| 61 | + }, |
| 62 | + "browserslist": { |
| 63 | + "production": [ |
| 64 | + ">0.2%", |
| 65 | + "not dead", |
| 66 | + "not op_mini all" |
| 67 | + ], |
| 68 | + "development": [ |
| 69 | + "last 1 chrome version", |
| 70 | + "last 1 firefox version", |
| 71 | + "last 1 safari version" |
| 72 | + ] |
| 73 | + }, |
| 74 | + "packageManager": "[email protected]" |
66 | 75 | } |
0 commit comments