-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathpackage.json
85 lines (85 loc) · 2.97 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
{
"name": "react-rater",
"version": "6.0.5",
"description": "A star rater in react.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"directories": {
"example": "example"
},
"scripts": {
"test": "jest --verbose",
"compile-scss": "node-sass src/react-rater.scss",
"build-lib-windows": "(if exist lib rd /s /q lib) && mkdir lib && babel src --out-dir lib && copy src\\index.d.ts lib && npm run -s compile-scss >> lib/react-rater.css && copy src\\react-rater-sass.scss lib ",
"build-lib": "rm -rf lib && mkdir lib && babel src --out-dir lib; npm run -s compile-scss >> lib/react-rater.css; cp src/react-rater.scss lib/; cp src/index.d.ts lib/index.d.ts",
"build-dist": "webpack; npm run -s compile-scss >> dist/react-rater.css",
"build-example": "webpack --mode=production",
"prepublish": "npm run build-lib || npm run build-lib-windows",
"start": "webpack-dev-server --hot --mode=development"
},
"repository": {
"type": "git",
"url": "https://github.com/NdYAG/react-rater.git"
},
"keywords": [
"react",
"rater",
"star-rater",
"react-component"
],
"author": "NdYAG",
"license": "BSD",
"bugs": {
"url": "https://github.com/NdYAG/react-rater/issues"
},
"homepage": "https://github.com/NdYAG/react-rater",
"testEnvironment": "jsdom",
"peerDependencies": {
"prop-types": ">=15.8.1",
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.9",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-decorators": "^7.17.9",
"@babel/plugin-proposal-export-namespace-from": "^7.16.7",
"@babel/plugin-proposal-function-sent": "^7.16.7",
"@babel/plugin-proposal-json-strings": "^7.16.7",
"@babel/plugin-proposal-numeric-separator": "^7.16.7",
"@babel/plugin-proposal-throw-expressions": "^7.16.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-transform-spread": "^7.16.7",
"@babel/polyfill": "^7.6.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
"babel-eslint": "^10.0.3",
"babel-jest": "^27.5.1",
"babel-loader": "^8.2.4",
"css-loader": "^6.7.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^8.13.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-react": "^7.29.4",
"eslint-webpack-plugin": "^3.1.1",
"file-loader": "^6.2.0",
"install": "^0.13.0",
"jest": "^27.5.1",
"jest-cli": "^27.5.1",
"node-sass": "^7.0.1",
"react-hot-loader": "^4.13.0",
"react-motion": "^0.5.2",
"react-test-renderer": "^18.0.0",
"sass-loader": "^12.6.0",
"style-loader": "^3.3.1",
"webpack": "^5.72.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.8.1"
}
}