-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
92 lines (92 loc) · 2.21 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
{
"name": "@sinoui/utils",
"version": "1.0.0",
"license": "MIT",
"main": "dist/index.js",
"umd:main": "dist/utils.umd.production.js",
"module": "dist/utils.esm.js",
"typings": "dist/index.d.ts",
"bugs": {
"url": "https://github.com/sinoui/utils/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sinoui/utils.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"
]
},
"peerDependencies": {
"react": ">=16.8.0"
},
"files": [
"dist",
"assets"
],
"dependencies": {
"@babel/polyfill": "^7.6.0",
"@babel/runtime": "^7.6.3"
},
"devDependencies": {
"@testing-library/jest-dom": "^4.1.2",
"@testing-library/react": "^9.3.0",
"@testing-library/react-hooks": "^3.1.0",
"@types/react": "^16.9.9",
"@types/react-dom": "^16.9.2",
"css-loader": "^3.2.0",
"docz": "^1.3.2",
"docz-theme-default": "^1.2.0",
"gh-pages": "^2.1.1",
"husky": "^3.0.9",
"lint-staged": "^9.4.2",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^1.18.2",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-test-renderer": "^16.10.2",
"style-loader": "^1.0.0",
"ts-lib-tools": "^0.5.1",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"typescript": "^3.6.4",
"webpack-docz-ghpages-plugin": "^0.5.0"
},
"publishConfig": {
"access": "public"
}
}