-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
98 lines (97 loc) · 3.57 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "react-view-router",
"version": "2.2.2",
"description": "react-view-router",
"keywords": [
"react-view-router",
"react",
"router",
"vue-router",
"react-router",
"react-router-dom"
],
"sideEffects": false,
"main": "esm/index.js",
"module": "esm/index.js",
"typings": "types/index.d.ts",
"engines": {
"node": "> 6.9.1"
},
"files": [
"dist",
"esm",
"es",
"src",
"types",
"drawer",
"dom",
"transition"
],
"scripts": {
"build-transition": "npm run build-transition:js && npm run build-transition:es",
"build-transition:js": "cross-env BUILD_ENV=js react-esm-project build --src ./transition/src --out ./transition/esm",
"build-transition:es": "cross-env BUILD_ENV=es react-esm-project build --src ./transition/src --out ./transition/es",
"build-drawer": "npm run build-drawer:types && npm run build-drawer:js && npm run build-drawer:es",
"build-drawer:types": "tsc -p drawer --emitDeclarationOnly",
"build-drawer:js": "cross-env BUILD_ENV=js babel drawer/src -d drawer/esm --extensions \".ts,.tsx\" --source-maps",
"build-drawer:es": "cross-env BUILD_ENV=es babel drawer/src -d drawer/es --extensions \".ts,.tsx\"",
"build-dom": "npm run build-dom:types && npm run build-dom:js && npm run build-dom:es",
"build-dom:types": "tsc -p dom --emitDeclarationOnly",
"build-dom:js": "cross-env BUILD_ENV=js babel dom/src -d dom/esm --extensions \".ts,.tsx\" --source-maps",
"build-dom:es": "cross-env BUILD_ENV=es babel dom/src -d dom/es --extensions \".ts,.tsx\"",
"build-src": "npm run build:types && npm run build:js && npm run build:es",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "cross-env BUILD_ENV=js babel src -d esm --extensions \".ts,.tsx\" --source-maps",
"build:es": "cross-env BUILD_ENV=es babel src -d es --extensions \".ts,.tsx\"",
"build": "npm run build-src && npm run build-drawer && npm run build-dom && npm run build-transition",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/gxlmyacc/react-view-router"
},
"author": "gxlmyacc",
"dependencies": {
"core-js": "^2",
"dom-helpers": "^5.2.1",
"path-to-regexp": "^6.2.1",
"react-transition-group": "^4.4.5",
"tslib": "^2.5.0"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"react-swipeable": ">=5.4.0"
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.0",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.21.0",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.21.0",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.0",
"@types/browser-or-node": "^1.3.0",
"@types/node": "^18.14.0",
"@types/react": "^16.14.2",
"@types/react-dom": "^16.9.16",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"autoprefixer": "^10.4.5",
"babel-plugin-define-variables": "^0.0.3",
"build-react-esm-project": "^0.0.11",
"cross-env": "^7.0.3",
"eslint": "8.35.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"typescript": "4.9.5"
}
}