-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
82 lines (82 loc) · 2.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
{
"name": "react-expand-animated",
"version": "1.0.2",
"description": "The expand component that animate the height of child component when toggling",
"main": "build/Expand.js",
"repository": "https://github.com/sonybinhle/react-expand-animated.git",
"author": "Binh Le <sonybinhle@gmail.com>",
"license": "MIT",
"keywords": [
"react",
"collapse",
"expandable",
"expand",
"animation",
"fade",
"height"
],
"scripts": {
"dev": "webpack-dev-server --config example/webpack.js",
"build": "npm run clean && babel src -d build --ignore test.js --source-maps inline",
"clean": "rm -rf build",
"test": "NODE_ENV=test jest",
"test:u": "NODE_ENV=test jest --u",
"test:cov": "rm -rf ./coverage && npm run test -- --coverage",
"prepush": "npm run lint && npm run test:cov",
"prepublishOnly": "npm run build && npm run test:cov",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"lint": "eslint 'src/**'",
"lint:fix": "eslint --fix 'src/**'"
},
"peerDependencies": {
"react": ">=16.x"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"coveralls": "^3.0.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.4",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^23.7.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.18.3",
"html-webpack-plugin": "^3.0.6",
"husky": "^4.2.3",
"jest": "^25.1.0",
"prop-types": "^15.6.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"styled-components": "^5.0.1",
"webpack": "^4.41.6",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
},
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"coverageThreshold": {
"global": {
"statements": 90,
"branches": 90,
"functions": 90,
"lines": 90
}
},
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"setupFiles": [
"<rootDir>/tools/jest.setup.js"
]
}
}