This repository has been archived by the owner on Oct 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
107 lines (107 loc) · 4.89 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
{
"name": "waterdataui-assets",
"version": "0.49.0dev",
"description": "Compiled static assets for Water Data For The Nation",
"main": "src/scripts/monitoring-location/index.js",
"scripts": {
"test": "jest --collectCoverage=true",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"test:watch": "jest --watch",
"clean": "rm -rf dist && mkdir dist",
"build": "npm run clean && run-p build:* && npm run hash-assets",
"build:css": "run-p build:css:*",
"build:css:main": "sass --load-path node_modules/leaflet/dist --load-path node_modules/wdfn-viz/src/stylesheets --load-path node_modules/uswds/src/stylesheets src/styles/main.scss dist/main.css && postcss dist/main.css --map -o dist/main.css",
"build:css:graph": "sass --load-path node_modules/wdfn-viz/src/stylesheets --load-path node_modules/uswds/src/stylesheets src/styles/graph.scss dist/graph.css && postcss dist/graph.css --map -o dist/graph.css",
"build:css:network": "sass --load-path node_modules/leaflet/dist --load-path node_modules/wdfn-viz/src/stylesheets --load-path node_modules/uswds/src/stylesheets src/styles/network.scss dist/network.css && postcss dist/network.css --map -o dist/network.css",
"build:fonts": "mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts && cp node_modules/@fortawesome/fontawesome-free/webfonts/* dist/fonts",
"build:images": "mkdir -p dist/img && mkdir -p dist/images && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img && cp -r node_modules/leaflet/dist/images/* dist/images && cp -r src/img/* dist/img",
"build:js": "rollup -c --environment NODE_ENV:production && mkdir -p dist/scripts",
"build:wdfnviz": "mkdir -p dist/scripts && cp node_modules/wdfn-viz/dist/wdfnviz.js dist/scripts",
"build:uswdsjs": "mkdir -p dist/scripts && cp node_modules/uswds/dist/js/uswds.min.js dist/scripts && cp node_modules/uswds/dist/js/uswds-init.min.* dist/scripts",
"build:datetimeformatjs": "mkdir -p dist/scripts && cp node_modules/date-time-format-timezone/build/browserified/date-time-format-timezone-complete-min.js dist/scripts",
"build:autotrack": "terser --output dist/autotrack.js node_modules/autotrack/autotrack.js",
"hash-assets": "gulp --gulpfile ./gulpfile.js revall",
"serve:static": "live-server --port=9000 --cors --no-browser dist",
"serve:python": "../wdfn-server/env/bin/python ../wdfn-server/run.py",
"start": "run-p watch serve:python",
"watch": "run-p watch:* serve:static",
"watch:css": "nodemon -w src/styles -e scss -x \"npm run build:css\"",
"watch:fonts": "nodemon -w node_modules/uswds/src/fonts -x \"npm run build:fonts\"",
"watch:images": "nodemon -w src/img -x \"npm run build:images\"",
"watch:js": "mkdir -p dist/scripts && npm run build:wdfnviz && npm run build:uswdsjs && npm run build:datetimeformatjs && rollup -c --watch"
},
"engines": {
"node": "14.17.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/usgs/waterdataui.git"
},
"author": "USGS",
"license": "CC0-1.0",
"bugs": {
"url": "https://github.com/usgs/waterdataui/issues"
},
"homepage": "https://github.com/usgs/waterdataui#readme",
"devDependencies": {
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-commonjs": "18.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"autoprefixer": "^10.2.6",
"buble": "^0.20.0",
"buble-jest": "^1.0.1",
"concat": "^1.0.3",
"eslint": "^7.28.0",
"eslint-plugin-jest": "^24.3.6",
"gulp": "^4.0.2",
"gulp-rev-all": "^3.0.0",
"isparta": "^4.1.1",
"jest": "^27.0.4",
"jest-mock-console": "^1.1.0",
"live-server": "^1.2.1",
"nodemon": "^2.0.7",
"npm-run-all": "^4.1.5",
"postcss": "^8.3.0",
"postcss-cli": "^8.3.1",
"postcss-csso": "^5.0.1",
"postcss-flexbugs-fixes": "^5.0.2",
"rollup": "2.51.1",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.34.1",
"sinon": "^11.1.1",
"stylelint": "^13.13.1",
"stylelint-scss": "^3.19.0",
"terser": "^5.7.0"
},
"dependencies": {
"@fortawesome/fontawesome-free": "5.15.3",
"autotrack": "2.4.1",
"core-js": "3.14.0",
"d3-array": "^3.0.1",
"d3-axis": "2.1.0",
"d3-brush": "2.1.0",
"d3-format": "3.0.1",
"d3-scale": "^4.0.0",
"d3-selection": "2.0.0",
"d3-shape": "^3.0.1",
"d3-simple-slider": "1.10.4",
"date-time-format-timezone": "1.0.22",
"element-closest": "3.0.2",
"esri-leaflet": "3.0.2",
"fast-memoize": "2.5.2",
"leaflet": "1.7.1",
"leaflet.markercluster": "1.5.0",
"list.js": "2.3.1",
"lodash": "4.17.21",
"luxon": "1.27.0",
"matchmedia-polyfill": "0.3.2",
"raf-throttle": "2.0.5",
"redux": "4.1.0",
"redux-thunk": "2.3.0",
"reselect": "4.0.0",
"wdfn-viz": "1.11.1"
}
}