-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 3.62 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 3.62 KB
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
{
"name": "",
"scripts": {
"build": "rimraf ./dist && cross-env NODE_ENV=production webpack",
"doc": "rimraf ./docs/${npm_package_version} && jsdoc -c .jsdoc.json -d ./docs/${npm_package_version}/",
"doc:latest": "rimraf ./docs/latest && jsdoc -c .jsdoc.json -d ./docs/latest/",
"doc:open": "npm run doc && open docs/${npm_package_version}/index.html",
"lint": "eslint \"src/**\"",
"start": "cross-env NODE_ENV=development webpack-dev-server --open",
"test": "jest --config jest.config.json",
"test:watch": "npm run test -- --watchAll",
"test:open": "npm run test && open coverage/lcov-report/index.html",
"test:coveralls": "npm run test -- --coverageReporters=text-lcov | coveralls",
"preversion": "npm run lint && npm run test",
"version": "npm run build && npm run doc && npm run doc:latest",
"postversion": "git add docs/ && git commit -am \"Documentation ${npm_package_version}\" && git push --follow-tags",
"storybook": "start-storybook -p 9001 -c .storybook"
},
"main": "dist/index.js",
"license": "MIT",
"dependencies": {
"prop-types": "^15.6.2",
"styled-components": "^4.0.3"
},
"peerDependencies": {
"react": "^16.5.2",
"react-dom": "^16.5.2"
},
"devDependencies": {
"@babel/core": "7.4.5",
"@babel/plugin-proposal-class-properties": "7.4.4",
"@babel/plugin-proposal-decorators": "7.4.4",
"@babel/plugin-proposal-export-namespace-from": "7.2.0",
"@babel/plugin-syntax-dynamic-import": "7.2.0",
"@babel/plugin-transform-runtime": "7.4.4",
"@babel/polyfill": "7.4.4",
"@babel/preset-env": "7.4.5",
"@babel/preset-react": "7.0.0",
"@babel/register": "7.4.4",
"@babel/runtime": "7.4.5",
"@storybook/addon-actions": "^5.0.0",
"@storybook/react": "^5.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "10.0.1",
"babel-jest": "^23.6.0",
"babel-loader": "8.0.6",
"babel-plugin-styled-components": "^1.10.0",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"css-loader": "^2.0.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"eslint": "^5.6.1",
"eslint-config-react-app": "^4.0.0",
"eslint-loader": "2.1.2",
"eslint-plugin-flowtype": "^3.9.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-react-hooks": "^1.6.0",
"file-loader": "^3.0.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^23.6.0",
"jest-styled-components": "^6.2.1",
"jsdoc": "^3.5.5",
"minami": "^1.2.3",
"mini-css-extract-plugin": "^0.7.0",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"rimraf": "^2.6.2",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"url-loader": "^1.1.2",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.9",
"webpack-merge": "^4.1.4"
},
"pdor": {
"type": "React Component",
"renameOptions": {
"replaceInFiles": [
{
"stubName": "YourComponent",
"to": ":targetNameComponent",
"files": [
"src/components/YourComponent/index.jsx",
"src/components/YourComponent/YourComponent.test.jsx",
"src/index.js",
"stories/index.js",
"example/index.js",
"example/index.html",
"webpack/webpack.prod.js"
]
}
],
"filesToBeRenamed": {
"src/components/YourComponent": "src/components/:targetNameComponent",
"src/components/:targetNameComponent/YourComponent.test.jsx": "src/components/:targetNameComponent/:targetNameComponent.test.jsx"
}
}
}
}