-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 2.82 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
{
"name": "@sinouiincubator/textarea",
"version": "1.0.1",
"description": "多行文本输入框组件",
"license": "MIT",
"main": "dist/index.js",
"umd:main": "dist/textarea.umd.production.js",
"module": "dist/textarea.esm.js",
"typings": "dist/index.d.ts",
"homepage": "https://sinouiincubator.github.io/textarea",
"bugs": {
"url": "https://github.com/sinouiincubator/textarea/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sinouiincubator/textarea.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",
"storybook": "start-storybook -p 6007",
"build-storybook": "build-storybook"
},
"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",
"styled-components": ">=4.4.0"
},
"files": [
"dist",
"assets"
],
"dependencies": {
"@babel/polyfill": "^7.6.0",
"@babel/runtime": "^7.6.3",
"classnames": "^2.2.6",
"styled-components": "^4.4.1"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@sinoui/theme": "^0.3.3",
"@storybook/react": "^5.1.11",
"@testing-library/jest-dom": "^4.2.2",
"@testing-library/react": "^9.3.1",
"@testing-library/react-hooks": "^3.1.1",
"@types/classnames": "^2.2.9",
"@types/react": "^16.9.11",
"@types/react-dom": "^16.9.3",
"@types/styled-components": "^4.1.20",
"babel-loader": "^8.0.6",
"css-loader": "^3.2.0",
"docz": "^1.3.2",
"docz-theme-default": "^1.2.0",
"gh-pages": "^2.1.1",
"husky": "^3.0.9",
"jest-styled-components": "^6.3.3",
"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.11.0",
"react-docgen-typescript-loader": "^3.1.1",
"react-dom": "^16.11.0",
"react-test-renderer": "^16.11.0",
"style-loader": "^1.0.0",
"ts-lib-tools": "^0.5.0",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"typescript": "^3.6.4",
"webpack-docz-ghpages-plugin": "^0.5.0"
},
"publishConfig": {
"access": "public"
}
}