forked from vkbansal/react-contextmenu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 3.03 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.5.2",
"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",
"prop-types": "^15.0.0"
},
"devDependencies": {
"babel-cli": "~6.24.0",
"babel-core": "~6.24.0",
"babel-eslint": "~7.2.1",
"babel-jest": "~20.0.0",
"babel-loader": "~7.0.0",
"babel-preset-babili": "0.0.12",
"babel-preset-env": "~1.4.0",
"babel-preset-es2015": "~6.24.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-register": "~6.24.0",
"coveralls": "^2.13.1",
"cross-env": "~4.0.0",
"enzyme": "~2.8.0",
"enzyme-to-json": "~1.5.0",
"eslint": "~3.19.0",
"eslint-config-vkbansal": "~5.2.1",
"eslint-import-resolver-webpack": "~0.8.1",
"eslint-plugin-import": "~2.2.0",
"eslint-plugin-react": "~7.0.0",
"history": "~4.6.1",
"jest": "~20.0.0",
"jsdom": "~10.1.0",
"prop-types": "~15.5.8",
"react": "~15.5.4",
"react-dom": "~15.5.4",
"react-router-dom": "~4.1.1",
"react-test-renderer": "~15.5.4",
"rimraf": "~2.6.1",
"webpack": "~2.5.1"
},
"jest": {
"setupFiles": [
"<rootDir>/tests/.setup.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"roots": [
"<rootDir>/tests"
],
"collectCoverageFrom": [
"**/src/**/*.js"
]
}
}