-
Notifications
You must be signed in to change notification settings - Fork 82
/
package.json
142 lines (142 loc) · 4.03 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "react-dropdown-select",
"version": "4.11.3",
"description": "Customizable dropdown select for react",
"main": "dist/react-dropdown-select.js",
"module": "lib/index.js",
"types": "types.d.ts",
"sideEffects": false,
"files": [
"dist",
"lib",
"types.d.ts"
],
"scripts": {
"test": "jest --bail",
"test:watch": "jest --bail --watch",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls",
"build": "webpack && npm run transpile",
"transpile": "babel src -d lib",
"prepublishOnly": "npm run build",
"version": "replace \"vPLACEHOLDER\" \"v$npm_package_version\" ./CHANGELOG.md && git add .",
"preversion": "sh change-log-builder.sh",
"release:patch": "npm version patch -m \"v%s \nSee changelog: https://github.com/sanusart/react-dropdown-select/blob/master/CHANGELOG.md\"",
"release:minor": "npm version minor -m \"v%s \nSee changelog: https://github.com/sanusart/react-dropdown-select/blob/master/CHANGELOG.md\"",
"release:major": "npm version major -m \"v%s \nSee changelog: https://github.com/sanusart/react-dropdown-select/blob/master/CHANGELOG.md\"",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"repository": {
"type": "git",
"url": "https://github.com/sanusart/react-dropdown-select"
},
"bundlesize": [
{
"path": "./dist/react-dropdown-select.js",
"maxSize": "20 kB"
},
{
"path": "./lib/index.js",
"maxSize": "20 kB"
}
],
"keywords": [
"react",
"react component",
"select",
"multiselect",
"dropdown"
],
"author": "Sasha Khamkov <[email protected]>",
"license": "MIT",
"peerDependencies": {
"prop-types": ">=15.7.2",
"react": ">=16.x",
"react-dom": ">=16.x"
},
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-object-rest-spread": "^7.7.7",
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"@emotion/babel-plugin": "11.11.0",
"@emotion/jest": "11.11.0",
"@storybook/addon-docs": "7.1.1",
"@storybook/addon-essentials": "7.1.1",
"@storybook/addon-interactions": "7.1.1",
"@storybook/addon-links": "7.1.1",
"@storybook/blocks": "7.1.1",
"@storybook/react": "7.1.1",
"@storybook/react-webpack5": "7.1.1",
"@storybook/testing-library": "^0.2.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^25.3.0",
"babel-loader": "^8.0.6",
"babel-plugin-transform-dynamic-import": "^2.1.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-preset-minify": "^0.5.1",
"bundlesize": "1.0.0-beta.2",
"coveralls": "^3.0.9",
"css-loader": "^6.7.3",
"gh-pages": "^2.2.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^3.1.0",
"jest": "29.6.2",
"jest-environment-jsdom": "29.6.2",
"prettier": "1.18.2",
"prop-types": "^15.7.2",
"react": "16.14.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.12.0",
"replace": "^1.2.0",
"storybook": "7.1.1",
"style-loader": "^3.3.1",
"webpack": "5.88.1",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "4.15.1"
},
"dependencies": {
"@emotion/react": "11.11.0",
"@emotion/styled": "11.11.0"
},
"jest": {
"snapshotSerializers": [
"@emotion/jest/serializer"
],
"transform": {
"^.+\\.(js)$": "babel-jest"
},
"testMatch": [
"**/?(*.)+(spec|test).js?(x)"
],
"testEnvironmentOptions": {
"url": "http://localhost/"
},
"collectCoverage": false,
"bail": true,
"roots": [
"<rootDir>/__tests__"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/ClickOutside.js",
"!node_modules/**",
"!docs/**",
"!dist/**",
"!coverage/**"
]
},
"browserslist": [
"last 2 versions",
"not dead",
"ie 11"
],
"husky": {
"hooks": {
"pre-commit": "npm test"
}
}
}