-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 2.38 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
{
"name": "cal-itp-reports",
"version": "1.0.0",
"description": "GTFS data quality reports for California transit providers",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/cal-itp/reports.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/cal-itp/reports/issues"
},
"homepage": "https://github.com/cal-itp/reports#readme",
"engines": {
"node": ">=12",
"npm": ">=7"
},
"dependencies": {
"alpinejs": "^3.8.1",
"billboard.js": "^3.6.0"
},
"devDependencies": {
"@rollup/plugin-multi-entry": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.2.0",
"@tailwindcss/typography": "^0.5.8",
"autoprefixer": "^10.4.13",
"copyfiles": "^2.4.1",
"cssnano": "^5.0.6",
"hash-files": "^1.1.1",
"mjml": "^4.11.0",
"npm-run-all": "^4.1.5",
"npm-watch": "^0.11.0",
"postcss": "^8.4.31",
"postcss-cli": "^10.1.0",
"replace-in-file": "^7.0.1",
"rollup": "^3.29.5",
"rollup-plugin-import-css": "^3.0.3",
"rollup-plugin-postcss": "^4.0.2",
"sass": "^1.35.1",
"tailwindcss": "^3.2.4"
},
"scripts": {
"build": "NODE_ENV=production npm-run-all clean html css images js cache-bust",
"cache-bust": "node cacheBuster.js",
"clean": "rm -rf build/",
"html": "echo 'processing html...'; if python3 generate.py; then echo 'html ready'; else echo 'html failed' && exit 1; fi",
"html_css": "npm-run-all -s html css",
"css": "echo 'processing css...'; npm-run-all css:clean css:sass css:postcss; echo 'css ready'",
"css:clean": "rm -f build/css/*",
"css:postcss": "postcss --ext min.css --dir build/css/ build/css/*.css",
"css:sass": "sass --no-source-map assets/scss:build/css",
"images": "copyfiles --up 2 assets/images/**/*.{jpeg,jpg,png,gif,svg} build/images",
"js": "rollup --config",
"watch": "npm-watch"
},
"watch": {
"html_css": {
"patterns": [
"../templates"
],
"extensions": "json,html,jinja"
},
"css": {
"patterns": [
"assets/scss"
],
"runOnChangeOnly": true,
"extensions": "scss,html"
},
"images": {
"patterns": [
"assets/images"
],
"extensions": "jpeg,jpg,png,gif,svg"
},
"js": {
"patterns": [
"assets/js"
],
"extensions": "js"
}
}
}