-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
125 lines (125 loc) · 4.11 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "@subscan/widget-app",
"version": "0.1.28",
"private": false,
"main": "./dist/main.js",
"homepage": "/lowcode",
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@subscan/widget-core": "1.0.3",
"@subscan/widget-editor": "1.0.8",
"@subscan/widget-runtime": "1.0.6",
"@arco-design/web-react": "^2.34.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.11.56",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"axios": "1.1.3",
"bignumber.js": "9.1.0",
"dayjs": "^1.11.5",
"echarts": "5.4.0",
"global": "^4.4.0",
"graphql-ws": "5.11.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^6.4.2",
"react-scripts": "5.0.1",
"source-map-explorer": "^2.5.3",
"styled-components": "5.3.5",
"styled-system": "^5.1.5",
"typescript": "4.6.3",
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@storybook/addon-actions": "^6.5.13",
"@storybook/addon-essentials": "^6.5.13",
"@storybook/addon-interactions": "^6.5.13",
"@storybook/addon-links": "^6.5.13",
"@storybook/builder-webpack5": "^6.5.13",
"@storybook/manager-webpack5": "^6.5.13",
"@storybook/node-logger": "^6.5.13",
"@storybook/preset-create-react-app": "^4.1.2",
"@storybook/react": "^6.5.13",
"@storybook/testing-library": "^0.0.13",
"@swc/core": "^1.2.247",
"@types/styled-components": "^5.1.26",
"@types/styled-system": "^5.1.15",
"babel-plugin-named-exports-order": "^0.0.2",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.25.1",
"prop-types": "^15.8.1",
"serve": "^14.0.1",
"tsup": "6.2.3",
"webpack": "^5.74.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"prettier": "^2.8.1"
},
"scripts": {
"start": "REACT_APP_CHANNEL=subscan REACT_APP_SUBSCAN_PRO_API=https://platform-staging.subscan.io react-scripts start",
"start:stg-local": "REACT_APP_SUBSCAN_PRO_API=https://platform-staging.subscan.io react-scripts start",
"start:prd-local": "REACT_APP_SUBSCAN_PRO_API=https://platform.subscan.io react-scripts start",
"build": "REACT_APP_CHANNEL=subscan REACT_APP_SUBSCAN_PRO_API=https://platform.subscan.io react-scripts build",
"build:stg": "REACT_APP_CHANNEL=subscan REACT_APP_SUBSCAN_PRO_API=https://platform-staging.subscan.io react-scripts build",
"build:local": "REACT_APP_SUBSCAN_PRO_API=https://platform-staging.subscan.io react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"build:sdk": "npx tsup src/main.ts --target es5 --env.NODE_ENV production --clean",
"prepublish": "npx tsup src/main.ts --target es5 --env.NODE_ENV production --clean",
"add:component": "node ./scripts/component.js",
"add:trait": "node ./scripts/trait.js",
"add:utilMethod": "node ./scripts/utilMethod.js",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public",
"analyze": "source-map-explorer 'build/static/js/*.js'",
"lint": "eslint src --ext .ts --ext .tsx",
"fix-lint": "eslint --fix src --ext .ts --ext .tsx",
"format": "prettier 'src/**/*.{js,jsx,ts,tsx,json}' --write",
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json}": [
"prettier --write",
"eslint --fix"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"eslintConfig": {
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
}
}