-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
29 lines (29 loc) · 1.23 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
{
"name": "ckanext-charts",
"version": "1.0.0",
"description": "[![Tests](https://github.com/DataShades/ckanext-charts/workflows/Tests/badge.svg?branch=main)](https://github.com/DataShades/ckanext-charts/actions)",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"copy-vendors": "cp node_modules/chart.js/dist/chart.js node_modules/plotly.js-dist/plotly.js ckanext/charts/assets/js/vendor/",
"minify-js": "terser ckanext/charts/assets/js/vendor/chart.js -o ckanext/charts/assets/js/vendor/chartjs.min.js && terser ckanext/charts/assets/js/vendor/plotly.js -o ckanext/charts/assets/js/vendor/plotly.min.js",
"remove-unminifed": "rm ckanext/charts/assets/js/vendor/chart.js ckanext/charts/assets/js/vendor/plotly.js",
"postinstall": "npm run copy-vendors && npm run minify-js && npm run remove-unminifed",
"dev": "DEBUG=1 gulp watch",
"build": "gulp build"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"chart.js": "^4.4.0",
"gulp": "^5.0.0",
"gulp-if": "^3.0.0",
"gulp-sass": "^5.1.0",
"gulp-sourcemaps": "^3.0.0",
"gulp-touch-fd": "^2.0.0",
"plotly.js-dist": "^2.28.0",
"sass": "^1.77.1",
"terser": "^5.31.0"
}
}