This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
forked from eyra/port
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.16 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "port",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.11.59",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"lodash": "^4.17.21",
"lottie-react": "^2.3.1",
"typescript": "^4.4.3",
"web-vitals": "^2.1.4"
},
"scripts": {
"dev:fix:ts": "ts-standard --env jest --fix",
"dev:build:py": "cd src/framework/processing/py && poetry build --format wheel",
"dev:build:ts": "react-scripts build",
"dev:install:py": "cp -R src/framework/processing/py/dist/. ./public",
"dev:build": "run-s dev:fix:ts dev:build:ts dev:build:py dev:install:py",
"dev:start": "react-scripts start",
"dev:test": "react-scripts test",
"prod:clean": "rm -rf ./dist",
"prod:build:css": "NODE_ENV=production tailwindcss build -i ./src/framework/styles.css -o ./dist/styles.css --minify",
"prod:build:ts": "tsc -d --project tsconfig.prod.json",
"prod:cp:assets": "cp -R ./src/assets ./dist",
"prod:cp:py": "cp -R src/framework/processing/py/dist/. ./dist",
"prod": "run-s dev:build:py prod:build:ts prod:build:css prod:cp:py prod:cp:assets",
"ci:fix": "run-s dev:fix:ts",
"ci:test": "CI=true react-scripts test",
"watch": "npm run dev:start & nodemon --ext py --exec \"npm run dev:build:py && npm run dev:install:py\""
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/lodash": "^4.14.185",
"autoprefixer": "^10.4.12",
"husky": "^8.0.1",
"nodemon": "^2.0.20",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.16",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"tailwindcss": "^3.1.8",
"ts-standard": "^11.0.0"
},
"ts-standard": {
"project": "./tsconfig.json",
"ignore": [
"dist",
"src/framework/processing/py_worker.js"
]
}
}