-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 1.34 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
{
"name": "opium-nav",
"version": "1.3.3",
"description": "Lightweight router for React and React Native apps",
"main": "dist/index.js",
"scripts": {
"start": "react-scripts start",
"watch": "nodemon -e ts,tsx -w ./src -x npm run build",
"watch:dist": "npm run clear && nodemon -e ts,tsx -w ./src -x npm run dist",
"watch:mobile": "nodemon -e ts,tsx,js -w ./src -x npm run dist:mobile",
"dist:mobile": "npm run build && copyfiles -Va ./dist/* ./dist/**/* ./dist/**/**/**/* ../3p5-mobile/node_modules/opium-nav",
"link": "npm link react",
"unlink": "npm unlink ract",
"build": "tsc --project tsconfig.dist.json",
"clear": "rm -fr ./dist",
"dist": "npm run build && copyfiles -V ./dist/* ./dist/**/* ../3p5-mobile/node_modules/opium-nav",
"release": "npm run clear && npm run build && npm publish"
},
"devDependencies": {
"@types/node": "^16.0.0",
"@types/react": "^17.0.13",
"copyfiles": "^2.4.1",
"nodemon": "^2.0.12",
"react": "^17.0.1",
"react-scripts": "^4.0.3",
"typescript": "^4.3.5"
},
"eslintConfig": {
"extends": [
"react-app"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}