/
package.json
93 lines (93 loc) · 2.93 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
{
"name": "@ewarren/persist",
"version": "0.3.17",
"description": "Shared library of React components and hooks. Persist responsibly.",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/Elizabeth-Warren/persist.git"
},
"author": "Jon Jandoc",
"license": "MIT",
"bugs": {
"url": "https://github.com/Elizabeth-Warren/persist/issues"
},
"homepage": "https://github.com/Elizabeth-Warren/persist#readme",
"dependencies": {
"@babel/plugin-syntax-object-rest-spread": "^7.2.0",
"@babel/runtime": "^7.6.2",
"lodash": "^4.17.15",
"polished": "^3.4.1",
"prop-types": "^15.7.2",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-responsive": "^8.0.1",
"styled-components": "^4.4.0"
},
"devDependencies": {
"@babel/cli": "^7.6.2",
"@babel/core": "^7.6.2",
"@babel/plugin-transform-runtime": "^7.6.2",
"@storybook/addon-actions": "^5.2.8",
"@storybook/addon-backgrounds": "^5.2.8",
"@storybook/addon-docs": "^5.3.0-alpha.15",
"@storybook/addon-jest": "^5.2.8",
"@storybook/addon-knobs": "^5.2.8",
"@storybook/addon-links": "^5.2.8",
"@storybook/addon-storysource": "^5.2.8",
"@storybook/addon-viewport": "^5.2.8",
"@storybook/addons": "^5.2.8",
"@storybook/react": "^5.2.8",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"babel-plugin-styled-components": "^1.10.6",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-preset-airbnb": "^4.1.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"eslint": "^6.3.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-json": "^1.4.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^1.7.0",
"husky": "^3.0.8",
"jest": "^24.9.0",
"jest-styled-components": "^6.3.3",
"lint-staged": "^9.4.2",
"react-test-renderer": "^16.10.2",
"rimraf": "^3.0.0",
"stylelint": "^11.0.0",
"stylelint-config-recommended": "^3.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-order": "^3.1.1",
"stylelint-processor-styled-components": "^1.8.0"
},
"scripts": {
"module": "lib/index",
"prebuild": "rimraf lib",
"build": "babel src --out-dir lib --source-maps inline --ignore '**/*.stories.js,**/*.test.js,**/_*'",
"prepare": "npm run build",
"lint": "eslint src --fix",
"lint:css": "stylelint './src/**/*.{js, css}'",
"test": "jest",
"test:generate-output": "jest --json --outputFile=.jest-test-results.json",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook --quiet"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"stylelint",
"git add"
]
}
}