forked from vkbansal/react-contextmenu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 3.28 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": "@boxid/react-contextmenu",
"version": "2.15.0",
"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",
"src/index.d.ts"
],
"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",
"prepublishOnly": "npm run build"
},
"author": "Vivek Kumar Bansal <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/box-id/react-contextmenu.git"
},
"bugs": {
"url": "https://github.com/box-id/react-contextmenu/issues"
},
"homepage": "https://github.com/box-id/react-contextmenu",
"dependencies": {
"classnames": "^2.2.5",
"object-assign": "^4.1.0"
},
"peerDependencies": {
"prop-types": "^15.0.0",
"react": "^0.14.0 || ^15.0.0 || ^16.0.1 || ^17.0.0",
"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.1 || ^17.0.0"
},
"devDependencies": {
"babel-cli": "~6.26.0",
"babel-core": "~6.26.3",
"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.7.0",
"babel-preset-es2015": "~6.24.1",
"babel-preset-react": "~6.24.1",
"babel-preset-stage-2": "~6.24.1",
"babel-register": "~6.26.0",
"coveralls": "~3.0.3",
"cross-env": "~6.0.3",
"css-loader": "~0.28.7",
"enzyme": "~3.10.0",
"enzyme-adapter-react-16": "~1.15.1",
"enzyme-to-json": "~3.4.3",
"eslint": "~4.18.2",
"eslint-import-resolver-webpack": "~0.8.3",
"eslint-plugin-import": "~2.18.2",
"eslint-plugin-react": "~7.16.0",
"extract-text-webpack-plugin": "~3.0.2",
"history": "~4.10.1",
"html-webpack-plugin": "~2.30.1",
"http-server": "~0.11.1",
"jest": "~21.2.1",
"jsdom": "~11.3.0",
"prop-types": "~15.7.2",
"react": "~16.8.4",
"react-dom": "~16.8.4",
"react-router-dom": "~5.0.1",
"react-test-renderer": "~16.8.4",
"rimraf": "~3.0.0",
"style-loader": "~0.19.0",
"webpack": "~3.12.0"
},
"jest": {
"setupFiles": [
"<rootDir>/tests/.setup.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"roots": [
"<rootDir>/tests"
],
"collectCoverageFrom": [
"**/src/**/*.js"
]
}
}