-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 2.03 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
{
"name": "css-only-loaders",
"version": "0.1.0",
"author": "Michał Iwanow",
"license": "MIT",
"private": false,
"devDependencies": {
"autoprefixer": "^8.2.0",
"cssnano": "^3.10.0",
"node-sass": "^4.8.3",
"postcss": "^6.0.21",
"postcss-cli": "^5.0.0"
},
"scripts": {
"build:default": "node-sass --source-map true --include-path scss src/loaders/default.scss loader.css",
"build:bar": "node-sass --source-map true --include-path scss src/loaders/bar.scss loader.css",
"build:circles": "node-sass --source-map true --include-path scss src/loaders/circles.scss loader.css",
"build:dots": "node-sass --source-map true --include-path scss src/loaders/dots.scss loader.css",
"build:heartbeat": "node-sass --source-map true --include-path scss src/loaders/heartbeat.scss loader.css",
"build:progress": "node-sass --source-map true --include-path scss src/loaders/progress.scss loader.css",
"build:pulsate": "node-sass --source-map true --include-path scss src/loaders/pulsate.scss loader.css",
"build:spinner": "node-sass --source-map true --include-path scss src/loaders/spinner.scss loader.css",
"build:css": "node-sass --source-map true --include-path scss src/loaders.scss loaders.css",
"minify:single": "postcss --use autoprefixer -b 'last 2 versions' < loader.css | postcss --use cssnano > loader.min.css",
"minify:css": "postcss --use autoprefixer -b 'last 2 versions' < loaders.css | postcss --use cssnano > loaders.min.css",
"single:bar": "npm run build:bar && npm run minify:single",
"single:circles": "npm run build:circles && npm run minify:single",
"single:default": "npm run build:default && npm run minify:single",
"single:dots": "npm run build:dots && npm run minify:single",
"single:heartbeat": "npm run build:heartbeat && npm run minify:single",
"single:progress": "npm run build:progress && npm run minify:single",
"single:pulsate": "npm run build:pulsate && npm run minify:single",
"single:spinner": "npm run build:spinner && npm run minify:single"
}
}