-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
66 lines (63 loc) · 1.78 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
{
"name": "map-unipaz-project",
"version": "1.0.0",
"private": true,
"type": "module",
"workspaces": [
"map",
"page"
],
"scripts": {
"move-compress": "move-file map/map.zip map/dist/map.zip",
"compress": "bestzip map/map.zip map/dist/** && npm run move-compress",
"build:map": "rimraf map/dist && npm run build --workspace=map && npm run compress",
"build": "rimraf dist && npm run build:map && move-file map/dist ./dist",
"build:page": "rimraf dist && npm run build:map && npm run build --workspace=page && move-file page/dist ./dist",
"co": "npm run lint && git add . && sui-mono commit",
"lint": "eslint .",
"dev": "npm run dev --workspace=map",
"dev:page": "npm run build && move-file ./dist map/dist && npm run dev --workspace=page",
"deploy": "rimraf dist && npm run build:map && npm run deploy --workspace=page && move-file page/dist ./dist && surge dist --domain https://unimapz.surge.sh",
"preview": "npm run preview --workspace=page"
},
"devDependencies": {
"@s-ui/mono": "2.27.0",
"bestzip": "2.2.1",
"cpy-cli": "4.1.0",
"eslint": "8.15.0",
"eslint-config-standard-jsx": "11.0.0",
"eslint-config-standard-react": "11.0.1",
"move-file-cli": "3.0.0",
"rimraf": "3.0.2",
"standard": "17.0.0",
"vite": "2.9.9",
"vite-plugin-html": "3.2.0"
},
"eslintConfig": {
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"extends": [
"standard",
"standard-jsx",
"standard-react"
],
"rules": {
"array-element-newline": [
"error",
{
"minItems": 3
}
],
"react/react-in-jsx-scope": "off"
}
},
"eslintIgnore": [
"node_modules",
"assets",
"dist"
]
}