|
1 | 1 | { |
2 | | - "name": "workout-interval-timer", |
3 | | - "version": "0.1.0", |
| 2 | + "name": "interval-timer", |
| 3 | + "version": "1.0.0", |
4 | 4 | "private": true, |
5 | | - "homepage": "https://workout-interval-timer.netlify.com", |
6 | | - "dependencies": { |
7 | | - "@testing-library/react": "^11.2.5", |
8 | | - "@xstate/react": "^0.8.1", |
9 | | - "date-fns": "^2.1.0", |
10 | | - "react": "^17.0.2", |
11 | | - "react-dom": "^17.0.2", |
12 | | - "react-helmet": "^6.1.0", |
13 | | - "react-scripts": "^4.0.3", |
14 | | - "xstate": "^4.11.0" |
15 | | - }, |
| 5 | + "workspaces": [ |
| 6 | + "packages/*" |
| 7 | + ], |
16 | 8 | "scripts": { |
17 | | - "start": "react-scripts start", |
18 | | - "build": "react-scripts build", |
19 | | - "test": "react-scripts test", |
20 | | - "test:coverage": "yarn test --coverage --watchAll=false", |
21 | | - "test:debug": "react-scripts --inspect-brk test --runInBand --no-cache", |
22 | | - "eject": "react-scripts eject", |
23 | | - "lint:fix": "eslint src/**/*.js --fix" |
24 | | - }, |
25 | | - "lint-staged": { |
26 | | - "src/**/*.js": [ |
27 | | - "yarn run --silent eslint", |
28 | | - "git add" |
29 | | - ] |
30 | | - }, |
31 | | - "husky": { |
32 | | - "hooks": { |
33 | | - "pre-commit": "lint-staged" |
34 | | - } |
35 | | - }, |
36 | | - "browserslist": { |
37 | | - "production": [ |
38 | | - ">0.2%", |
39 | | - "not dead", |
40 | | - "not op_mini all" |
41 | | - ], |
42 | | - "development": [ |
43 | | - "last 1 chrome version", |
44 | | - "last 1 firefox version", |
45 | | - "last 1 safari version" |
46 | | - ] |
| 9 | + "core-test": "yarn workspace @interval-timer/core run test", |
| 10 | + "core-test-coverage": "yarn workspace @interval-timer/core run test --runInBand --coverage", |
| 11 | + "web": "yarn workspace @interval-timer/web run start", |
| 12 | + "web-build": "yarn workspace @interval-timer/web run build", |
| 13 | + "web-lint": "yarn workspace @interval-timer/web run lint:fix", |
| 14 | + "web-test-coverage": "yarn workspace @interval-timer/web run test:coverage", |
| 15 | + "web-test": "yarn workspace @interval-timer/web run test" |
47 | 16 | }, |
48 | 17 | "devDependencies": { |
49 | | - "eslint-config-prettier": "^6.2.0", |
50 | | - "eslint-plugin-prettier": "^3.1.0", |
51 | | - "eslint-plugin-react": "^7.14.3", |
52 | | - "eslint-plugin-react-hooks": "^2.0.1", |
| 18 | + "@babel/preset-env": "^7.13.12", |
| 19 | + "@babel/preset-typescript": "^7.13.0", |
| 20 | + "@flextremedev/eslint-config": "^0.1.1", |
| 21 | + "@flextremedev/prettier-config": "^0.1.0", |
| 22 | + "@types/jest": "^26.0.22", |
| 23 | + "@types/node": "^14.14.37", |
| 24 | + "eslint": "^7.23.0", |
| 25 | + "eslint-config-prettier": "^7.0.0", |
| 26 | + "eslint-plugin-import": "^2.22.1", |
| 27 | + "eslint-plugin-prettier": "^3.3.1", |
53 | 28 | "husky": "^3.0.5", |
54 | 29 | "lint-staged": "^9.2.5", |
55 | | - "prettier": "^1.18.2" |
| 30 | + "prettier": "^2.2.1", |
| 31 | + "typescript": "^4.2.3" |
56 | 32 | } |
57 | 33 | } |
0 commit comments