-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.8 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
{
"name": "opium-ui",
"version": "2.0.1",
"main": "dist/export.js",
"type": "module",
"dependencies": {
"react": "18.*.*",
"react-dom": "18.*.*",
"dayjs": "1.*.*",
"hotkeys-js": "3.*.*",
"opium-filter": "1.*.*",
"react-helmet": "6.*.*",
"themeor": "3.0.4-beta"
},
"devDependencies": {
"@types/node": "16.*.*",
"@types/react": "18.*.*",
"@types/react-dom": "18.*.*",
"@types/react-helmet": "6.*.*",
"@uiw/react-textarea-code-editor": "2.*.*",
"copyfiles": "2.*.*",
"nodemon": "2.*.*",
"opium-nav": "1.*.*",
"react-jsx-parser": "1.29.*",
"react-scripts": "5.*.*",
"typescript": "4.*.*"
},
"scripts": {
"start": "npm run icons:build && react-scripts start",
"watch": "npm run icons:build && nodemon -e ts,tsx,json,svg,png -w ./src -x npm run build",
"watch:mobile": "npm run icons:build && nodemon -e ts,tsx,css -w ./src -x npm run dist:mobile",
"link": "npm link react ../themeor ../opium-nav",
"unlink": "npm unlink react themeor opium-nav",
"build:docs": "react-scripts build",
"clear": "rm -fr ./dist && mkdir dist",
"icons:parse": "node ./scripts/parse-icons",
"icons:copy": "copyfiles -V -u 1 src/**/*.svg dist",
"icons:build": "npm run icons:parse && npm run icons:copy",
"build": "tsc",
"release": "npm run clear && npm run icons:build && npm run build && npm publish",
"dist:mobile": "npm run build && copyfiles -V ./dist/* ./dist/**/* ../3p5-mobile/node_modules/opium-ui"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}