forked from vkbansal/react-contextmenu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 3.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
{
"name": "react-contextmenu",
"version": "2.9.2",
"description": "Context Menu implemented in React",
"main": "modules/index.js",
"module": "es6/index.js",
"typings": "src/index.d.ts",
"keywords": [
"react",
"reactjs",
"react-component",
"contextmenu",
"rightclick"
],
"files": [
"es6",
"modules",
"dist"
],
"scripts": {
"lint": "eslint ./src ./examples",
"test": "npm run lint && npm run test:only",
"test:only": "jest --no-cache --verbose --coverage",
"test:dev": "jest --watchAll --no-cache --verbose --coverage",
"clean": "rimraf ./dist && rimraf ./modules && rimraf ./es6",
"clean:examples": "rimraf ./public",
"build": "npm run clean && npm run test && npm run build:dist && npm run build:es5 && npm run build:es6",
"build:dist": "webpack --progress --profile --colors",
"build:es5": "cross-env BABEL_ENV=es5 babel src --out-dir modules",
"build:es6": "cross-env BABEL_ENV=es6 babel src --out-dir es6",
"build:examples": "npm run clean:examples && npm run build:dev",
"build:dev": "cross-env BABEL_ENV=es6 webpack --config examples/webpack.config.js --progress --profile --colors",
"start": "npm run build:examples && npm run start:server",
"start:server": "http-server public -p 3000",
"prepublish": "npm run build"
},
"author": "Vivek Kumar Bansal <contact@vkbansal.me>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/vkbansal/react-contextmenu.git"
},
"bugs": {
"url": "https://github.com/vkbansal/react-contextmenu/issues"
},
"homepage": "https://github.com/vkbansal/react-contextmenu",
"dependencies": {
"classnames": "^2.2.5",
"object-assign": "^4.1.0"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0 || ^16.0.0",
"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0",
"prop-types": "^15.0.0"
},
"devDependencies": {
"babel-cli": "~6.26.0",
"babel-core": "~6.26.0",
"babel-eslint": "~7.2.1",
"babel-jest": "~21.2.0",
"babel-loader": "~7.1.1",
"babel-minify-webpack-plugin": "~0.2.0",
"babel-preset-env": "~1.6.0",
"babel-preset-es2015": "~6.24.0",
"babel-preset-react": "~6.24.1",
"babel-preset-stage-2": "~6.24.1",
"babel-register": "~6.26.0",
"coveralls": "~3.0.0",
"cross-env": "~5.0.5",
"css-loader": "~0.28.7",
"enzyme": "~3.1.0",
"enzyme-adapter-react-16": "~1.0.1",
"enzyme-to-json": "~3.1.1",
"eslint": "~3.19.0",
"eslint-config-vkbansal": "~5.2.1",
"eslint-import-resolver-webpack": "~0.8.3",
"eslint-plugin-import": "~2.2.0",
"eslint-plugin-react": "~7.0.0",
"extract-text-webpack-plugin": "~3.0.1",
"history": "~4.6.1",
"html-webpack-plugin": "~2.30.1",
"http-server": "~0.10.0",
"jest": "~21.2.1",
"jsdom": "~11.3.0",
"prop-types": "~15.6.0",
"react": "~16.0.0",
"react-dom": "~16.0.0",
"react-router-dom": "~4.2.2",
"react-test-renderer": "~16.0.0",
"rimraf": "~2.6.2",
"style-loader": "~0.19.0",
"webpack": "~3.6.0"
},
"jest": {
"setupFiles": [
"<rootDir>/tests/.setup.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"roots": [
"<rootDir>/tests"
],
"collectCoverageFrom": [
"**/src/**/*.js"
]
}
}