forked from ochiroma/sixteens
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
58 lines (58 loc) · 3.19 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
{
"name": "sixteens",
"version": "2.0.0",
"description": "Pattern library for ONS website",
"main": "",
"config": {
"js": "js/thirdparty/details.polyfill.js js/thirdparty/doubletaptogo.js js/thirdparty/resize-observer-polyfill.js js/app.js js/app/cookies-banner.js js/app/cookies-pref.js js/app/display.js js/app/preview.js js/app/checkboxes.js js/app/viewport-size.js js/app/gtm.js js/app/nav.js js/app/show-and-hide.js js/app/show-more-list.js js/app/sticky-scroll.js js/app/date-picker.js js/app/mobile-filters.js js/app/print-page.js js/app/hover-state.js js/app/scroll.js js/app/loading-screen.js js/app/date-range-updater.js js/app/filter-options.js js/app/time-selector.js js/app/filter-select.js js/app/improve-this-page.js js/app/embed-code-copy.js js/app/tile.js js/app/scrollable-container.js js/app/auto-submit-form.js js/app/load-results.js"
},
"scripts": {
"audit": "auditjs ossi --quiet",
"clean": "",
"minify-imgs": "imagemin dist/img/ dist/img",
"build-css": "mkdir -pv dist/css && node-sass --output-style compressed scss/main.scss dist/css/main.css && node-sass --output-style compressed scss/pdf.scss dist/css/pdf.css",
"build-ie-9-css": "mkdir -pv dist/css && node-sass --output-style compressed scss/main.scss dist/css/ie-9.css && blessc dist/css/ie-9.css -f",
"build-old-ie-css": "mkdir -pv dist/css && node-sass --output-style compressed scss/old-ie.scss dist/css/old-ie.css && blessc dist/css/old-ie.css -f",
"build-work-in-progress": "mkdir -pv dist/css && node-sass --output-style compressed scss/work-in-progress.scss dist/css/work-in-progress.css",
"build-js": "mkdir -pv dist/js && uglifyjs $npm_package_config_js --compress --mangle -o dist/js/main.js",
"build": "npm run build-css && npm run build-old-ie-css && npm run build-ie-9-css && npm run build-js",
"lint": "exit",
"postinstall": "npm run build",
"watch-css": "onchange 'scss' -e 'scss/work-in-progress' -e 'scss/work-in-progress.scss' -- npm run build-css",
"watch-work-in-progress": "onchange 'scss' 'scss/work-in-progress.scss' -- npm run build-work-in-progress",
"watch-js": "catw -v $npm_package_config_js -o dist/js/main.js",
"server": "http-server -p ${PORT:-9000} --cors",
"dev": "npm run watch-css & npm run watch-js & npm run server"
},
"repository": {
"type": "git",
"url": "[email protected]:ONSdigital/sixteens.git"
},
"license": "Open Government License v3.0",
"dependencies": {
"bless": "3.0.3",
"jquery": "=3.7.1",
"node-sass": "^9.0.0",
"qs": "^6.11.0",
"replace": "latest",
"semver-regex": "^3.1.4",
"shell-quote": "^1.7.3",
"uglify-js": "latest"
},
"devDependencies": {
"auditjs": "^4.0.37",
"catw": "^0.0.1",
"http-server": "latest",
"imagemin-cli": "^7.0.0",
"onchange": "latest"
},
"overrides": {
"got": "latest",
"http-cache-semantics": "latest",
"minimist": "^1.2.6",
"semver-regex": "^3.1.4",
"minimatch": "latest",
"trim-newlines": "^3.0.1",
"cross-spawn": "^7.0.5"
}
}