forked from GSA/code-gov-style
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 2.24 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
{
"name": "@code.gov/code-gov-style",
"version": "2.0.0",
"description": "Style for code.gov including buttons, banners, and cards. Inspired by and somewhat based on USWDS.",
"main": "index.js",
"scripts": {
"serve": "bundle exec jekyll serve",
"serve-on-server": "sudo bundle exec jekyll serve --host=0.0.0.0 --port=80",
"lint": "stylelint ./_sass/*.scss",
"test-pa11y": "./node_modules/.bin/pa11y-ci --config .pa11yci",
"update-all": "npm i && npm run update-font && npm run update-custom-elements && npm run update-polyfills && npm run update-code-gov-web-components && npm run update-assets",
"update-assets": "cp dist/js/* assets/js/. && cp node_modules/prismjs/prism.js assets/js/. && cp node_modules/@webcomponents/custom-elements/custom-elements.min.js.map assets/js/.",
"update-custom-elements": "npm install -S @webcomponents/custom-elements && cd node_modules/@webcomponents/custom-elements && npm install",
"update-font": "cd bash_scripts && bash update-font.sh",
"update-polyfills": "cat ./node_modules/@babel/polyfill/dist/polyfill.min.js ./node_modules/custom-event-polyfill/polyfill.js ./node_modules/@webcomponents/custom-elements/custom-elements.min.js > dist/js/polyfills.js",
"update-code-gov-web-components": "./node_modules/@babel/cli/bin/babel.js src/* > dist/js/code-gov-web-components.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/GSA/code-gov-style.git"
},
"keywords": [
"style",
"code.gov",
"scss",
"usa",
"css"
],
"author": "Daniel J. Dufour",
"license": "CC0-1.0",
"bugs": {
"url": "https://github.com/GSA/code-gov-style/issues"
},
"homepage": "https://github.com/GSA/code-gov-style#readme",
"dependencies": {
"@babel/polyfill": "^7.0.0",
"@code.gov/code-gov-font": "0.9.0",
"@webcomponents/custom-elements": "^1.2.4",
"custom-event-polyfill": "^1.0.6",
"prismjs": "^1.15.0"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/plugin-transform-arrow-functions": "^7.0.0",
"@babel/preset-env": "^7.4.4",
"@babel/preset-react": "^7.0.0",
"glyphhanger": "^3.0.3",
"pa11y-ci": "^2.1.1",
"stylelint": "^10.0.1",
"stylelint-config-standard": "^18.3.0"
}
}