-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
135 lines (135 loc) · 3.3 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
{
"name": "react-css-collapse",
"version": "4.1.0",
"description": "Component-wrapper for collapse animation with css for elements with variable and dynamic height",
"author": {
"name": "Torleif Halseth",
"email": "halseth.torleif@gmail.com"
},
"contributors": [
{
"name": "Tony Hopland"
},
{
"name": "Daniel Selvik"
},
{
"name": "Matt Shwery"
},
{
"name": "Nawal Deshi Rahim"
},
{
"name": "Kristofer Walters"
},
{
"name": "Christopher Deutsch"
},
{
"name": "Espen Thomassen Sæverud"
}
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/SparebankenVest/react-css-collapse"
},
"main": "lib/index.js",
"scripts": {
"test": "jest src",
"test:watch": "npm run test -- --watch",
"babel": "npm run clean && cross-env NODE_ENV=production npx babel -d lib src/components --ignore **/*.test.jsx --source-maps",
"clean": "rm -rf lib",
"build": "npm test && npm run eslint && npm run babel",
"eslint": "npx eslint src --ext .js --ext .jsx",
"format": "prettier --write \"src/**/*.js\" \"src/**/*.jsx\"",
"fix": "npx eslint --fix src --ext .js --ext .jsx",
"prepublish": "npm run build",
"start": "npm run babel -- -w",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.4",
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/preset-env": "^7.11.0",
"@babel/preset-react": "^7.10.4",
"@storybook/addon-actions": "^6.0.16",
"@storybook/addon-knobs": "^6.0.16",
"@storybook/react": "^6.0.16",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.0.2",
"babel-eslint": "^10.0.3",
"babel-jest": "^26.3.0",
"babel-loader": "^8.1.0",
"babel-preset-react-app": "^9.1.2",
"cross-env": "^7.0.2",
"eslint": "^7.7.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^24.0.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.0",
"jest": "^26.4.2",
"prettier": "^2.1.0",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"directories": {
"test": "test"
},
"keywords": [
"react",
"component",
"react-component",
"react-collapse",
"collapse",
"expand",
"dropdown",
"accordion",
"slide-down",
"slide-up"
],
"browserslist": [
">0.2%",
"not dead",
"not op_mini all",
"ios_saf >= 10"
],
"babel": {
"presets": [
"@babel/preset-react",
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-transform-runtime"
]
},
"jest": {
"transform": {
"^.+\\.(js|jsx)$": "babel-jest"
},
"testURL": "http://localhost/",
"collectCoverageFrom": [
"**/*.{js,jsx}",
"!**/node_modules/**"
]
},
"prettier": {
"endOfLine": "lf",
"parser": "babel",
"singleQuote": true,
"trailingComma": "all",
"printWidth": 80,
"tabWidth": 2
}
}