-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.23 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.23 KB
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
69
70
71
72
73
74
75
76
77
78
{
"name": "fcc-web",
"version": "1.0.0",
"private": true,
"dependencies": {
"classnames": "^2.5.1",
"react": "^19.2.0",
"react-bootstrap": "^2.10.10",
"react-chrono": "^3.1.0",
"react-dom": "^19.2.0",
"react-router-dom": "^7.9.5",
"swiper": "^12.0.3",
"web-utility": "^4.6.4"
},
"scripts": {
"prepare": "husky || true",
"install": "tsx tool/test tool/event.txt",
"test": "lint-staged && tsc --noEmit",
"clean": "rm -rf .parcel-cache/ dist/",
"start": "npm run clean && parcel public/index.html",
"pack": "npm run clean && parcel build public/index.html --no-scope-hoist --public-url .",
"build": "npm run pack && workbox generateSW"
},
"fcc": {
"name": "fcc.chengdu",
"type": "react",
"root": "./build",
"publicUrl": "https://fcc-cd.dev/fcc.chengdu/"
},
"devDependencies": {
"@parcel/packager-raw-url": "~2.16.1",
"@parcel/transformer-less": "~2.16.1",
"@parcel/transformer-webmanifest": "~2.16.1",
"@types/node": "^22.19.0",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"husky": "^9.1.7",
"less": "^4.4.2",
"lint-staged": "^16.2.6",
"parcel": "~2.16.1",
"prettier": "^3.6.2",
"process": "^0.11.10",
"tsx": "^4.20.6",
"typescript": "~5.9.3",
"workbox-cli": "^7.3.0"
},
"pnpm": {
"onlyBuiltDependencies": [
"@parcel/watcher",
"@swc/core",
"esbuild",
"lmdb",
"msgpackr-extract"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"tabWidth": 4,
"printWidth": 100,
"overrides": [
{
"files": "*.yml",
"options": {
"tabWidth": 2
}
}
]
},
"lint-staged": {
"*.{html,md,less,json,yml,js,jsx,ts,tsx}": "prettier --write"
},
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
"@parcel/resolver-default": {
"packageExports": true
}
}