A suite to track Project Diva score statistics and ratings / D4DJ event data.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
projectdivar/server/chart.js-node-ssr-example/package.json

57 lines
1.8 KiB

{
"name": "chart.js-node-ssr-example",
"private": false,
"version": "1.0.9",
"description": "Chart.js server side rendering example. (pure JavaScript; no native modules)",
"main": "bin/index.js",
"scripts": {
"clean": "rm -rf ./bin ./bin.esm",
"build": "npm run build:wp:prod && npm run build:esm",
"build:wp:prod": "webpack-cli --mode=production --config webpack.config.js",
"build:wp:dev": "webpack-cli --mode=development --config webpack.config.js",
"build:esm": "npm run build:esm:1 && npm run build:esm:2",
"build:esm:1": "tsc --outDir bin.esm",
"build:esm:2": "cp ./build-scripts/pkg.json ./bin.esm/package.json",
"start": "npm run start:wp",
"start:wp": "node bin/index.js",
"start:v12": "node --no-warnings --experimental-modules --es-module-specifier-resolution=node --experimental-json-modules ./bin.esm/index",
"start:v14": "node --no-warnings --es-module-specifier-resolution=node --experimental-json-modules ./bin.esm/index",
"test": "echo test",
"lint": "tslint ./src/**/*.ts -t verbose"
},
"keywords": [
"Chart.js",
"SSR",
"SVG",
"Canvas",
"html5"
],
"engines": {
"node": ">=12.13.0"
},
"dependencies": {
"chart.js": "^2.9.4",
"red-agate-svg-canvas": "^0.5.0",
"red-agate-util": "^0.5.0"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@types/chart.js": "^2.9.29",
"@types/node": "^14.14.16",
"babel-loader": "^8.2.2",
"source-map-loader": "^2.0.0",
"ts-loader": "^8.0.12",
"tslint": "^6.1.3",
"typescript": "^4.1.3",
"webpack": "^5.11.1",
"webpack-cli": "^4.3.0"
},
"author": "shellyln",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/shellyln/chart.js-node-ssr-example.git"
}
}