-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
122 lines (122 loc) · 3.08 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
{
"name": "@sinoui/alert",
"version": "2.0.0",
"description": "警告提示,展现需要关注的信息。",
"license": "MIT",
"main": "dist/index.js",
"umd:main": "dist/sinoui-alert.umd.production.js",
"module": "dist/sinoui-alert.esm.js",
"types": "types/index.d.ts",
"homepage": "https://sinoui.github.io/alert",
"bugs": {
"url": "https://github.com/sinoui/alert/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sinoui/alert.git"
},
"scripts": {
"start": "ts-lib-tools watch",
"test": "ts-lib-tools test",
"build": "ts-lib-tools build",
"format": "ts-lib-tools format",
"lint": "ts-lib-tools lint",
"prepublishOnly": "ts-lib-tools build",
"doc:dev": "docz dev",
"doc:build": "docz build",
"doc:publish": "docz build && gh-pages -d .docz/dist"
},
"prettier": {
"printWidth": 80,
"useTabs": false,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "always"
},
"eslintConfig": {
"extends": "ts-lib"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"cross-env CI=true ts-lib-tools test",
"eslint --fix --color",
"git add"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"files": [
"dist",
"assets"
],
"dependencies": {
"@babel/polyfill": "^7.7.0",
"@babel/runtime": "^7.7.7",
"@sinoui/core": "^1.0.0-beta.9",
"@sinoui/icons": "^1.0.0-beta.2",
"@sinoui/theme": "^1.0.0-beta.8",
"assert": "^2.0.0",
"classnames": "^2.2.6",
"lodash-es": "^4.17.15",
"polished": "^3.5.2",
"react-icons": "^3.8.0",
"react-transition-group": "^4.3.0"
},
"peerDependencies": {
"react": ">=16.8.0",
"styled-components": ">=4.0.0"
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@sinoui/ripple": "^1.0.9",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.4.0",
"@testing-library/react-hooks": "^3.2.1",
"@types/classnames": "^2.2.9",
"@types/react": "^16.9.17",
"@types/react-dom": "^16.9.4",
"@types/react-transition-group": "^4.2.3",
"@types/styled-components": "^4.4.2",
"@types/theme-ui": "^0.3.1",
"babel-loader": "^8.0.6",
"css-loader": "^3.4.1",
"docz": "^2.3.1",
"gh-pages": "^2.2.0",
"husky": "^4.0.1",
"jest-styled-components": "^7.0.2",
"lint-staged": "^9.5.0",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.12.0",
"style-loader": "^1.1.2",
"ts-lib-tools": "^0.8.6",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"typescript": "^3.7.4"
},
"publishConfig": {
"access": "public"
}
}