-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
129 lines (129 loc) · 3.88 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
{
"name": "react-shape-editor",
"description": "Simple shape editor component",
"version": "2.6.1",
"scripts": {
"start": "parcel -d build website/index.html",
"build": "rollup -c",
"build:storybook": "npm run clean:storybook && build-storybook -o build/storybook",
"build:website": "npm run clean:website && parcel build website/index.html -d build --public-url /react-shape-editor/",
"clean": "rimraf dist/*",
"clean:storybook": "rimraf build/storybook",
"clean:website": "rimraf build",
"lint": "eslint src",
"prettier": "prettier --write \"{src,example/src,stories}/**/*.{js,css,md}\"",
"prepublishOnly": "npm run lint && npm run test:once && npm run clean && npm run build",
"test": "jest --watch",
"test:once": "jest",
"storybook": "start-storybook -p ${PORT:-3001} -h 0.0.0.0",
"deploy": "gh-pages -d build",
"prepush-check-prettier": "npm run prettier -- --list-different || (echo 'ERROR: Some files were updated by prettier. Please commit them and continue.'; exit 1)",
"prepush": "npm-run-all -p prepush-check-prettier lint"
},
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"files": [
"dist"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/fritz-c/react-shape-editor.git"
},
"homepage": "https://github.com/fritz-c/react-shape-editor#readme",
"bugs": "https://github.com/fritz-c/react-shape-editor/issues",
"browserslist": [
">0.2%",
"not dead",
"not ie < 11",
"not op_mini all"
],
"jest": {
"setupFilesAfterEnv": [
"./node_modules/jest-enzyme/lib/index.js"
],
"setupFiles": [
"./test-config/shim.js",
"./test-config/test-setup.js"
],
"moduleFileExtensions": [
"js",
"jsx",
"json"
],
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"\\.(css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
"pre-push": "npm run prepush"
}
},
"dependencies": {
"prop-types": "^15.5.7"
},
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@commitlint/cli": "^8.0.0",
"@commitlint/config-conventional": "^8.0.0",
"@storybook/addon-options": "^5.1.9",
"@storybook/addon-storyshots": "^5.1.9",
"@storybook/react": "^5.1.9",
"autoprefixer": "^9.6.0",
"babel-eslint": "^10.0.2",
"babel-loader": "^8.0.6",
"codesandbox": "^2.1.6",
"coveralls": "^3.0.4",
"cross-env": "^5.1.6",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.2",
"gh-pages": "^2.0.1",
"husky": "^2.7.0",
"jest": "^24.8.0",
"jest-enzyme": "^7.0.1",
"jest-react-profiler": "^0.1.3",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.11.0",
"prettier": "^1.18.2",
"react": "^16.8.6",
"react-addons-shallow-compare": "^15.6.2",
"react-dom": "^16.8.6",
"react-hot-loader": "^4.12.0",
"react-test-renderer": "^16.4.0",
"rimraf": "^2.6.2",
"rollup": "^1.16.3",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.0.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^2.0.3",
"why-did-you-update": "^1.0.6"
},
"keywords": [
"react",
"react-component"
]
}