forked from fkhadra/react-contexify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 2.8 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
{
"name": "react-contexify",
"version": "4.1.1",
"main": "lib/index.js",
"typings": "./lib/index.d.ts",
"description": "Add contextmenu to your react component with ease",
"keywords": [
"react",
"context menu",
"react-component",
"menu",
"react-contextmenu",
"react-contexify"
],
"scripts": {
"start": "webpack-dev-server --config ./webpack.config.dev.js",
"test": "cross-env NODE_ENV=test jest --verbose",
"test:coverage": "cross-env NODE_ENV=test jest --coverage && cat ./coverage/lcov.info | coveralls",
"prettier": "prettier --parser typescript --single-quote --write \"src/**/*.{ts,tsx}\"",
"prebuild": "npm run prettier && npm run test",
"build": "npm run build:es && npm run build:umd && npm run style",
"build:es": "npm run clean:es && cross-env NODE_ENV=production tsc",
"build:umd": "npm run clean:umd && cross-env NODE_ENV=production webpack",
"clean:es": "rimraf lib/*",
"clean:umd": "rimraf dist/*",
"sass": "node-sass scss/main.scss dist/ReactContexify.css",
"postsass": "postcss dist/ReactContexify.css --use autoprefixer -m -o dist/ReactContexify.css",
"style": "npm run sass && cssnano dist/ReactContexify.css dist/ReactContexify.min.css --no-zindex --no-reduceIdents"
},
"repository": {
"type": "git",
"url": "git+/~https://github.com/fkhadra/react-contexify.git"
},
"author": "Fadi Khadra <fdkhadra@gmail.com> (/~https://github.com/fkhadra)",
"license": "MIT",
"bugs": {
"url": "/~https://github.com/fkhadra/react-contexify/issues"
},
"devDependencies": {
"@types/classnames": "^2.2.6",
"@types/enzyme": "^3.1.14",
"@types/enzyme-adapter-react-16": "^1.0.3",
"@types/jest": "^23.3.3",
"@types/prop-types": "^15.5.6",
"@types/react": "^16.4.16",
"@types/react-dom": "^16.0.8",
"autoprefixer": "^7.2.5",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"css-loader": "^1.0.0",
"cssnano": "^4.1.0",
"cssnano-cli": "^1.0.5",
"enzyme": "^3.5.0",
"enzyme-adapter-react-16": "^1.3.0",
"enzyme-to-json": "^3.3.4",
"html-webpack-plugin": "^3.2.0",
"jest": "^23.5.0",
"jest-cli": "^23.5.0",
"node-sass": "^4.9.3",
"postcss": "^7.0.2",
"postcss-cli": "^6.0.0",
"prettier": "^1.14.2",
"raf": "^3.4.0",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-test-renderer": "^16.4.2",
"regenerator-runtime": "^0.12.1",
"rimraf": "^2.6.2",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.0",
"ts-jest": "^23.10.3",
"ts-loader": "^5.2.1",
"typescript": "^3.1.1",
"webpack": "^4.17.1",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.7"
},
"peerDependencies": {
"react": ">=16.0.0",
"react-dom": ">=16.0.0"
},
"dependencies": {
"classnames": "^2.2.6",
"prop-types": "^15.6.2"
}
}