forked from vkbansal/react-contextmenu
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
96 lines (96 loc) · 3.04 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
{
"name": "react-contextmenu",
"version": "2.4.0",
"description": "Context Menu implemented in React",
"main": "modules/index.js",
"module": "es6/index.js",
"keywords": [
"react",
"reactjs",
"react-component",
"contextmenu",
"rightclick"
],
"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 ./examples/bundle.js && rimraf ./examples/bundle.js.map",
"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 && NODE_ENV=production npm run build:dev",
"build:dev": "cross-env BABEL_ENV=es6 webpack --config examples.config.js --progress --profile --colors",
"start": "npm run clean:examples && npm run build:examples && npm run start:server",
"start:server": "http-server examples -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",
"react-dom": "^0.14.0 || ^15.0.0"
},
"devDependencies": {
"babel-cli": "^6.24.0",
"babel-core": "^6.24.0",
"babel-eslint": "^7.2.1",
"babel-jest": "^19.0.0",
"babel-loader": "^6.4.1",
"babel-preset-babili": "0.0.12",
"babel-preset-env": "^1.2.2",
"babel-preset-es2015": "^6.24.0",
"babel-preset-react": "^6.22.0",
"babel-preset-stage-2": "^6.22.0",
"babel-register": "^6.24.0",
"coveralls": "^2.12.0",
"cross-env": "^3.2.4",
"enzyme": "^2.8.0",
"enzyme-to-json": "^1.5.0",
"eslint": "^3.18.0",
"eslint-config-vkbansal": "^5.0.0",
"eslint-import-resolver-webpack": "^0.8.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-react": "^6.10.3",
"eslint-plugin-standard": "^2.0.1",
"history": "^4.6.1",
"http-server": "^0.9.0",
"jest": "^19.0.2",
"jsdom": "^9.12.0",
"react": "^15.4.2",
"react-addons-test-utils": "^15.4.2",
"react-dom": "^15.4.2",
"react-router-dom": "^4.0.0",
"rimraf": "^2.6.1",
"webpack": "^2.3.2"
},
"jest": {
"setupFiles": [
"<rootDir>/tests/.setup.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"roots": [
"<rootDir>/tests"
],
"collectCoverageFrom": [
"**/src/**/*.js"
]
}
}