-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
50 lines (50 loc) · 2.34 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
{
"name": "scpr-style-guide",
"version": "3.0.5",
"description": "Product Style Guide for KPCC (Southern California Public Radio).",
"main": "src/js/main.js",
"scripts": {
"clean": "rm -rf css/*.css && rm -rf img/* && rm -rf font/* && rm -rf js/* && npm run gem-clean",
"build": "npm run build-css && npm run build-img && npm run compile-css && npm run build-js && npm run compile-js && npm run copy-css && npm run copy-js",
"build-css": "mkdir -p ./public/css && node-sass ./src/css/main.scss ./public/css/scpr-style.css && node-sass ./documentation/_sass/scpr-docs.scss ./documentation/css/scpr-docs.css && npm run build-prefix",
"build-js": "mkdir -p ./public/js && browserify ./src/js/main.js -t babelify -o ./public/js/scpr-style.js",
"build-prefix": "postcss --use autoprefixer public/css/scpr-style.css -o ./public/css/scpr-style.css",
"build-img": "mkdir -p ./public/img && mkdir -p ./documentation/img && npm run copy-img && npm run svg",
"compile-css": "cleancss ./public/css/scpr-style.css -o ./public/css/scpr-style-min.css",
"compile-js": "uglifyjs ./public/js/scpr-style.js -o ./public/js/scpr-style-min.js",
"copy-css": "cp ./public/css/scpr-style.css ./documentation/css/scpr-style.css",
"copy-js": "cp ./public/js/scpr-style.js ./documentation/js/scpr-style.js",
"copy-img": "cp -r ./src/img/* ./public/img && cp -r ./src/img/* ./documentation/img",
"lint": "scss-lint -c t .scss-lint.yml",
"svg": "gulp --gulpfile build/gulpfile.js svg-sprite",
"test": "npm run test",
"watch": "watch 'npm run build' ./src ./documentation/_sass"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SCPR/scpr-style-guide.git"
},
"author": "Southern California Public Radio",
"license": "CC0-1.0",
"bugs": {
"url": "https://github.com/SCPR/scpr-style-guide/issues"
},
"homepage": "https://github.com/SCPR/scpr-style-guide#readme",
"devDependencies": {
"autoprefixer": "^6.2.3",
"babelify": "^7.3.0",
"browserify": "^13.0.0",
"clean-css": "^3.4.9",
"gulp": "^3.9.0",
"gulp-cli": "^1.2.0",
"gulp-svg-sprite": "^1.2.19",
"node-sass": "^4.13.1",
"postcss": "^5.0.14",
"postcss-cli": "^2.3.3",
"postcss-copy-assets": "^0.3.0",
"postcss-sprites": "^3.0.3",
"sass-lint": "^1.4.0",
"uglify-js": "^2.6.1",
"watch": "^0.17.1"
}
}