-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
46 lines (46 loc) · 2.14 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
{
"name": "digital-land-frontend-repo",
"version": "0.2.4",
"description": "frontend components and assets for digital land",
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"build:javascripts": "rollup --config rollup.config.js",
"build:stylesheets": "sass digital_land_frontend/src/scss:assets/stylesheets --load-path=node_modules/govuk-frontend --load-path=digital_land_frontend/templates",
"clean:package": "rm -rf package/digital-land-frontend",
"copy:images": "copyfiles 'digital_land_frontend/src/images/**/*.{png,ico}' package/digital-land-frontend/images --up 3",
"copy:scss": "copyfiles 'digital_land_frontend/src/scss/**/*.scss' package/digital-land-frontend/ --up 3 && copyfiles 'digital_land_frontend/templates/components/**/*.scss' package/digital-land-frontend/ --up 2",
"copy:templates": "copyfiles 'digital_land_frontend/templates/**/*.jinja' package/digital-land-frontend/ --up 2",
"copy:javascripts": "copyfiles 'digital_land_frontend/src/javascripts/maps/*.{js,json}' package/digital-land-frontend/javascripts/ -u 4 && cp 'digital_land_frontend/src/javascripts/digital-land-cookies.js' package/digital-land-frontend/javascripts/",
"build:package": "npm-run-all clean:package build:javascripts copy:*",
"watch:javascripts": "rollup --config rollup.config.js --watch",
"lint:stylesheets": "sass-lint --config .sass-lint.yml 'digital_land_frontend/**/*.scss' --verbose --no-exit",
"build": "npm-run-all --serial build:*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/digital-land/digital-land-frontend.git"
},
"keywords": [
"frontend",
"css",
"jinja"
],
"author": "Digital Land Team",
"license": "MIT",
"bugs": {
"url": "https://github.com/digital-land/digital-land-frontend/issues"
},
"homepage": "https://github.com/digital-land/digital-land-frontend#readme",
"devDependencies": {
"copyfiles": "latest",
"govuk-frontend": "4.2.0",
"npm": "^8.3.0",
"npm-run-all": "^4.1.5",
"rollup": "^2.60.0",
"sass": "^1.77.6",
"sass-lint": "^1.13.1",
"standardx": "^7.0.0"
}
}