-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
110 lines (110 loc) · 3.56 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "dta.gov.au",
"version": "1.5.1",
"description": "Drupal 8 sub theme for dta.gov.au. Requires the DTA UI Kit base theme to work.",
"main": "",
"dependencies": {
"@gov.au/accordion": "^3.0.1",
"@gov.au/animate": "^1.0.9",
"@gov.au/body": "^2.2.0",
"@gov.au/breadcrumbs": "^2.1.1",
"@gov.au/buttons": "^3.0.4",
"@gov.au/callout": "^2.0.8",
"@gov.au/card": "^0.3.2",
"@gov.au/control-input": "^2.1.6",
"@gov.au/core": "^3.4.2",
"@gov.au/cta-link": "^2.1.4",
"@gov.au/direction-links": "^2.1.4",
"@gov.au/grid-12": "^2.0.8",
"@gov.au/header": "^4.1.6",
"@gov.au/headings": "^2.0.8",
"@gov.au/inpage-nav": "^2.0.5",
"@gov.au/link-list": "^2.1.1",
"@gov.au/page-alerts": "^2.0.8",
"@gov.au/responsive-media": "^2.0.11",
"@gov.au/select": "^2.0.8",
"@gov.au/skip-link": "^2.0.10",
"@gov.au/table": "^0.2.0",
"@gov.au/tags": "^3.1.4",
"@gov.au/text-inputs": "^2.0.9",
"autoprefixer": "^8.6.5",
"node-sass": "^4.14.1",
"npm": "^6.14.7",
"postcss-cli": "^6.0.0"
},
"devDependencies": {
"@gov.au/syrup": "^1.1.0",
"browser-sync": "^2.26.10",
"imagemin-cli": "^3.0.0",
"npm-run-all": "^4.1.3",
"onchange": "^4.1.0",
"sass-versioning": "^0.4.0",
"svgo": "^1.1.1"
},
"scripts": {
"build": "node-sass src/sass/dta-gov-au.styles.scss css/dta-gov-au.styles.css --source-map true && npm run build:autoprefix",
"build:autoprefix": "postcss css/dta-gov-au.styles.css -u autoprefixer -r",
"optimise-images": "svgo ./src/images/*.svg -o ./images && imagemin ./src/images/*.{png,jpg,jpeg} --out-dir=./images",
"cache-rebuild:all": "drush cr",
"cache-rebuild:theme": "drush cache:clear theme-registry",
"cache-rebuild:js": "drush cache:clear css-js",
"cache-rebuild:render": "drush cache:clear render",
"browser-refresh": "browser-sync reload",
"copy-js": "cp ./pancake/js/pancake.min.js ./js/pancake.js",
"watch:js": "onchange \"./js/*.js\" -- npm run cache-rebuild:js && npm run browser-refresh",
"watch:sass": "onchange \"src/sass/**/*.scss\" -- npm run build",
"watch:twig": "onchange \"../dta-uikit-base/templates/**/*.twig\" \"./templates/**/*.twig\" -- npm run browser-refresh",
"watch:theme": "onchange \"*.theme\" -- npm run browser-refresh",
"serve": "browser-sync start --proxy 'au.gov.cld.y.dta-website-rebuild-test:8888/' --files=\"css/*.css\" \"js/*.js\" \"../dta-ui-kit-base/templates/**/*.twig\" \"templates/**/*.twig\"",
"watch": "npm-run-all --parallel copy-js serve build watch:*",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/govau/dta-gov-au.git"
},
"author": "govCMS",
"license": "ISC",
"bugs": {
"url": "https://github.com/govau/dta-gov-au/issues"
},
"homepage": "https://github.com/govau/dta-gov-au#readme",
"browserslist": [
"last 2 versions",
"ie 8",
"ie 9",
"ie 10"
],
"pancake": {
"auto-save": true,
"plugins": true,
"ignore": [],
"css": {
"minified": true,
"modules": false,
"browsers": [
"last 2 versions",
"ie 8",
"ie 9",
"ie 10"
],
"location": "pancake/css/",
"name": "pancake.min.css"
},
"sass": {
"modules": false,
"location": "pancake/sass/",
"name": "pancake.scss"
},
"json": {},
"react": {
"location": false
},
"js": {
"minified": false,
"modules": false,
"location": "pancake/js/",
"name": "pancake.min.js"
}
}
}