-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 3.02 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
{
"name": "@idui/react-inputs",
"version": "1.1.13",
"description": "React Input Component",
"author": "[email protected]",
"license": "MIT",
"repository": "id-ui/react-inputs",
"main": "dist/index.js",
"types": "dist/types.d.ts",
"source": "src/index.js",
"engines": {
"node": ">=10"
},
"keywords": [
"react",
"react-component",
"react-input",
"input",
"text-input",
"number-input",
"mask-input",
"search-input"
],
"scripts": {
"start": "start-storybook",
"deploy-storybook": "storybook-to-ghpages",
"build": "webpack --mode production && yarn run types:copy",
"types:copy": "cp ./types.d.ts ./dist",
"eslint": "eslint ./src/ --ext .js,.jsx --fix",
"pretty": "npx prettier --write \"**/*.js*\"",
"lint": "yarn run eslint && yarn run pretty",
"test": "jest",
"test:watch": "npm run test -- --watch",
"test:coverage": "yarn test -- --coverage",
"coveralls": "cat ./coverage/lcov.info | node node_modules/.bin/coveralls",
"build-and-publish": "yarn run build && npm version patch && npm publish"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"peerDependencies": {
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.5",
"@storybook/addon-essentials": "^6.1.10",
"@storybook/addon-storysource": "^6.1.10",
"@storybook/addons": "^6.1.10",
"@storybook/react": "^6.1.10",
"@storybook/storybook-deployer": "^2.8.7",
"@storybook/theming": "^6.1.9",
"@testing-library/dom": "^7.26.6",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "^11.1.2",
"@testing-library/user-event": "^12.2.2",
"babel-eslint": "^10.1.0",
"babel-loader": "8.2.1",
"babel-plugin-styled-components": "^1.12.0",
"coveralls": "^3.1.0",
"eslint": "^7.13.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.0",
"jest": "^26.6.3",
"jest-axe": "^3.5.0",
"kcd-scripts": "^6.7.0",
"lint-staged": "^10.5.1",
"path": "^0.12.7",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-test-renderer": "^16.14.0",
"webpack": "^5.0.0-rc.6",
"webpack-cli": "^4.0.0-rc.1"
},
"files": [
"dist"
],
"dependencies": {
"@idui/react-icon": "^1.0.5",
"@idui/react-mask-input": "^1.2.1",
"lodash": "^4.17.20",
"prop-types": "^15.7.2",
"styled-components": "^5.2.1",
"styled-tools": "^1.7.2"
},
"lint-staged": {
"src/**/*.{js,jsx}": [
"eslint --fix",
"git add src/*",
"jest"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}