-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
119 lines (119 loc) · 4.27 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
{
"name": "downright",
"description": "Right-click context menu HOC for React.",
"version": "0.7.3",
"repository": {
"type": "git",
"url": "https://github.com/downplay/downright.git"
},
"main": "main.js",
"files": [
"main.js.map",
"themes",
"docs/coverImage.png",
"docs/themedMenu.png"
],
"scripts": {
"precommit": "lint-staged",
"scrub": "babel-node ./build/scrub.js",
"assemble": "babel-node ./build/assemble.js",
"build": "npm-run-all scrub build-all",
"build-all":
"npm-run-all --parallel build-core build-theme-default build-theme-bem build-theme-dark assemble",
"build-core":
"cross-env NODE_ENV=production DOWNRIGHT_BUILD=core webpack --config ./build/entry.js",
"build-core-dev":
"cross-env NODE_ENV=development DOWNRIGHT_BUILD=core webpack --config ./build/entry.js --watch",
"build-theme-default":
"cross-env NODE_ENV=production DOWNRIGHT_BUILD=theme-default webpack --config ./build/entry.js",
"build-theme-bem":
"cross-env NODE_ENV=production DOWNRIGHT_BUILD=theme-bem webpack --config ./build/entry.js",
"build-theme-dark":
"cross-env NODE_ENV=production DOWNRIGHT_BUILD=theme-dark webpack --config ./build/entry.js",
"examples": "node examples/entry.js",
"examples-watch": "nodemon examples/entry.js",
"examples-build":
"cross-env NODE_ENV=production babel-node ./examples/build/build.js"
},
"lint-staged": {
"*.{js,jsx}": ["eslint", "git add"]
},
"keywords": [
"react",
"reactjs",
"right-click",
"menu",
"context-menu",
"javascript",
"react-component",
"hoc",
"ui",
"transitions"
],
"peerDependencies": {
"prop-types": "^15.0.0 || ^16.0.0",
"react": "^0.14.0 || ^15.0.0 || ^16.0.0",
"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0"
},
"dependencies": {
"downstyle": "^0.1.1",
"hoist-non-react-statics": "^2.0.0",
"invariant": "^2.0.0"
},
"devDependencies": {
"autoprefixer": "^7.1.2",
"babel-cli": "^6.26.0",
"babel-core": "^6.25.0",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.1.1",
"babel-plugin-add-react-displayname": "^0.0.4",
"babel-plugin-module-resolver": "^2.7.1",
"babel-plugin-styled-components": "^1.1.7",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-plugin-transform-require-ignore": "^0.1.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-register": "^6.24.1",
"babel-runtime": "^6.25.0",
"cross-env": "^5.0.3",
"css-loader": "^0.28.4",
"css-object-loader": "^0.0.7",
"eslint": "4.3.0",
"eslint-config-airbnb": "^15.1.0",
"eslint-config-prettier": "^2.3.0",
"eslint-loader": "^1.9.0",
"eslint-plugin-import": "2.7.0",
"eslint-plugin-jsx-a11y": "5.1.1",
"eslint-plugin-react": "7.1.0",
"express": "^4.15.3",
"extract-text-webpack-plugin": "^3.0.0",
"fs-extra": "^4.0.1",
"husky": "^0.14.3",
"ignore-loader": "^0.1.2",
"lint-staged": "^4.0.3",
"lodash": "^4.17.4",
"nodemon": "^1.11.0",
"npm-run-all": "^4.0.2",
"postcss-calc": "^6.0.0",
"postcss-custom-properties": "^6.1.0",
"postcss-import": "^10.0.0",
"postcss-loader": "^2.0.6",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-hot-loader": "^3.0.0-beta.7",
"react-router-dom": "^4.1.2",
"reset-css": "^2.2.1",
"style-loader": "^0.18.2",
"styled-components": "^2.1.2",
"svg-url-loader": "^2.1.1",
"webpack": "^3.4.1",
"webpack-dev-middleware": "^1.12.0",
"webpack-hot-middleware": "^2.18.2",
"webpack-node-externals": "^1.6.0"
}
}