-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
56 lines (56 loc) · 1.91 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
{
"name": "starry-rating",
"version": "5.1.0",
"description": "JavaScript star rating system",
"main": "dist/module.js",
"scripts": {
"start": "npm run build && npm run serve",
"serve": "npm run update-docs && http-server ./docs -p 8080 -o",
"build": "npm run create-icon-list && npm run create-module && npm run build:js && npm run build:css && npm run minify:js && npm run minify:css && npm run clean",
"create-icon-list": "node ./build/createIconList.js",
"create-module": "node ./build/createModule.js",
"build:js": "babel ./src/script/Starry.js -o ./dist/starry.js && babel ./src/script/module.js -o ./dist/module.js",
"build:css": "sass ./src/style/Starry.scss ./dist/starry.css",
"minify:js": "node-minify --compressor uglify-es --input ./dist/starry.js --output ./dist/starry.min.js",
"minify:css": "node-minify --compressor clean-css --input ./dist/starry.css --output ./dist/starry.min.css",
"clean": "rimraf ./src/script/module.js && rimraf ./src/script/icons.json",
"update-docs": "cpy ./dist/starry.min.js ./docs/js && cpy ./dist/starry.min.css ./docs/css && sass ./docs/css/style.scss ./docs/css/style.css"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Teddy95/Starry.git"
},
"keywords": [
"starry",
"star",
"star-rating",
"starrating",
"rating",
"javascript",
"js",
"css",
"icons",
"cookie",
"npm"
],
"author": "Andre Sieverding",
"license": "MIT",
"bugs": {
"url": "https://github.com/Teddy95/Starry/issues"
},
"homepage": "https://github.com/Teddy95/Starry#readme",
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/plugin-proposal-object-rest-spread": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"babel-plugin-inline-json-import": "^0.3.2",
"cpy-cli": "^3.1.1",
"http-server": "^0.12.3",
"node-minify": "^3.6.0",
"node-sass": "^4.14.1",
"rimraf": "^3.0.2",
"sass": "^1.26.10"
},
"dependencies": {}
}