forked from vkbansal/react-contextmenu
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
106 lines (106 loc) · 3.36 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
{
"name": "@firefox-devtools/react-contextmenu",
"version": "5.2.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 ./tests ./examples",
"test": "yarn lint && yarn 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": "yarn clean && yarn test && yarn build:dist && yarn build:es5 && yarn build:es6",
"build:dist": "webpack --progress --profile",
"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": "yarn clean:examples && yarn build:dev",
"build:dev": "cross-env BABEL_ENV=es6 webpack --config examples/webpack.config.js --progress --profile",
"start": "webpack serve --config examples/webpack.config.js",
"prepublishOnly": "yarn build"
},
"author": "Vivek Kumar Bansal <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/firefox-devtools/react-contextmenu.git"
},
"bugs": {
"url": "https://github.com/firefox-devtools/react-contextmenu/issues"
},
"homepage": "https://github.com/firefox-devtools/react-contextmenu",
"dependencies": {
"classnames": "^2.5.1",
"object-assign": "^4.1.0"
},
"peerDependencies": {
"prop-types": "^15.0.0",
"react": "^0.14.0 || ^15.0.0 || ^16.0.1 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-stage-2": "^7.8.3",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"babel-jest": "~29.7.0",
"babel-loader": "~9.2.1",
"cross-env": "~7.0.3",
"css-loader": "~7.1.2",
"eslint": "~8.57.1",
"eslint-config-vkbansal": "~5.2.1",
"eslint-import-resolver-webpack": "~0.13.10",
"eslint-plugin-import": "~2.31.0",
"eslint-plugin-jest": "^28.10.0",
"eslint-plugin-jest-dom": "^5.5.0",
"eslint-plugin-react": "~7.37.3",
"eslint-plugin-testing-library": "^7.1.1",
"history": "~5.3.0",
"html-webpack-plugin": "~5.6.3",
"jest": "~29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.9.2",
"prop-types": "~15.8.1",
"react": "~19.0.0",
"react-dom": "~19.0.0",
"react-router-dom": "~6.28.1",
"rimraf": "~5.0.10",
"style-loader": "~4.0.0",
"webpack": "5.97.1",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.0"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/tests/.setup.js"
],
"roots": [
"<rootDir>/tests"
],
"collectCoverageFrom": [
"**/src/**/*.js"
],
"testEnvironment": "jsdom"
}
}