This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
77 lines (77 loc) · 3.57 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
{
"name": "cloudgov-style",
"version": "2.11.0",
"description": "The global style of cloud.gov",
"main": "src/js/main.js",
"scripts": {
"clean": "rm -rf css/*.css && rm -rf img/* && rm -rf fonts/* && rm -rf js/* && rm -rf docs/build",
"build": "npm run build-css && npm run build-css-components && npm run build-font && npm run build-img && npm run compile-css && npm run copy-library-assets && npm run build-js && npm run compile-js",
"build-css": "mkdir -p ./css && node-sass ./src/css/main.scss ./css/cloudgov-style.css && npm run build-prefix",
"build-css-components": "gulp --gulpfile build/gulpfile.js build-components && node-sass ./src/css/base.scss ./css/base.css",
"build-font": "npm run copy-font",
"build-js": "mkdir -p ./js && browserify ./src/js/main.js -o ./js/cloudgov-style.js",
"build-prefix": "postcss --use autoprefixer css/cloudgov-style.css -o ./css/cloudgov-style.css",
"build-img": "mkdir -p ./img && npm run copy-img && npm run svg",
"build-library-assets": "npm run clean && npm run build-css && npm run build-font && npm run build-img && npm run copy-library-assets",
"check-publish": "publish",
"compile-css": "cleancss ./css/cloudgov-style.css -o ./css/cloudgov-style-min.css",
"compile-js": "uglifyjs ./js/cloudgov-style.js -o ./js/cloudgov-style-min.js",
"copy-img": "cp -r node_modules/uswds/dist/img/* img/ && cp ./src/img/* ./img",
"copy-font": "mkdir -p ./fonts && cp node_modules/uswds/dist/fonts/* fonts/ && cp ./src/font/* ./fonts",
"copy-library-assets": "npm-run-all copy-library-assets-*",
"copy-library-assets-css": "mkdir -p ./docs/assets/css && cp ./css/cloudgov-style.css ./docs/src/main.css ./docs/assets/css",
"copy-library-assets-font": "mkdir -p ./docs/assets/fonts && cp ./fonts/* ./docs/assets/fonts",
"copy-library-assets-img": "mkdir -p ./docs/assets/img && cp -R ./img/* ./docs/assets/img",
"lint": "node node_modules/.bin/18f-stylelint-rules './src/css/**/*.scss'",
"svg": "gulp --gulpfile build/gulpfile.js svg-sprite",
"test": "npm run lint",
"watch": "npm-run-all --parallel watch-*",
"watch-js": "watch 'npm-run-all build-js compile-js' ./src/js -d",
"watch-css": "watch 'npm-run-all build-css compile-css copy-library-assets-css' ./src/css -d",
"watch-font": "watch 'npm-run-all build-font copy-font copy-library-assets-font' ./src/font -d",
"watch-img": "watch 'npm-run-all build-img copy-img copy-library-assets-img' ./src/img -d",
"release": "node ./scripts/release.js",
"start": "npm run build-library --sync"
},
"repository": {
"type": "git",
"url": "git+https://github.com/18F/cg-style.git"
},
"author": "18F",
"license": "SEE LICENSE in LICENSE.md",
"engines": {
"node": "6.x.x",
"npm": "3.x.x"
},
"bugs": {
"url": "https://github.com/18F/cg-style/issues"
},
"homepage": "https://github.com/18F/cg-style#readme",
"dependencies": {
"lodash.debounce": "^4.0.8",
"politespace": "^0.1.20",
"uswds": "^1.6.9"
},
"devDependencies": {
"@18f/stylelint-rules": "^2.0.0",
"autoprefixer": "^6.6.1",
"browserify": "^13.3.0",
"clean-css": "^3.4.23",
"cross-spawn": "^4.0.0",
"gulp": "^3.9.0",
"gulp-cli": "^1.2.0",
"gulp-insert": "^0.5.0",
"gulp-sass": "^2.3.1",
"gulp-svg-sprite": "^1.2.19",
"node-sass": "^3.13.1",
"npm-run-all": "^3.1.2",
"postcss": "^5.2.10",
"postcss-cli": "^2.3.3",
"postcss-copy-assets": "^0.3.0",
"postcss-sprites": "^3.0.3",
"prompt": "^1.0.0",
"publish": "^0.6.0",
"uglify-js": "^2.7.5",
"watch": "^0.17.1"
}
}