-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
68 lines (68 loc) · 1.87 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
{
"name": "svg-line-chart",
"version": "0.4.1",
"description": "A simple way to generate svg line charts in JS",
"repository": "https://github.com/attestate/svg-line-chart",
"type": "commonjs",
"main": "dist/svg-line-chart.js",
"exports": {
".": {
"require": "./dist/svg-line-chart.js",
"default": "./src/index.mjs"
}
},
"module": "./dist/svg-line-chart.mjs",
"browser": "dist/browser-svg-line-chart.js",
"scripts": {
"build:node:cjs": "esbuild src/index.mjs --outfile=dist/svg-line-chart.js --bundle --platform=node --target=node14.16.1",
"build:browser": "esbuild src/index.mjs --outfile=dist/browser-svg-line-chart.js --bundle --minify --sourcemap --target=es6",
"build": "npm run build:node:cjs && npm run build:node:esm && npm run build:browser",
"test": "ava --verbose",
"test:coverage": "c8 --config .c8rc.json npm run test",
"dev": "nodemon scripts/serve.mjs",
"git:add": "git update-index --add dist/*",
"lint": "eslint ./src/** ./test/**",
"check-format": "prettier --check .",
"format": "prettier --write ."
},
"pre-commit": [
"test",
"build",
"git:add"
],
"keywords": [
"node",
"line",
"chart",
"svg",
"generate",
"server-side"
],
"author": "Tim Daubenschütz <tim@daubenschuetz.de> (https://timdaub.github.io)",
"license": "GPL-3.0-only",
"dependencies": {
"date-fns": "2.20.0",
"param-case": "3.0.4"
},
"bundledDependencies": [
"date-fns",
"param-case"
],
"peerDependencies": {
"htm": "^3.0.4",
"vhtml": "^2.2.0"
},
"devDependencies": {
"ava": "3.15.0",
"c8": "^7.10.0",
"esbuild": "0.11.12",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"htm": "^3.0.4",
"nodemon": "2.0.7",
"pre-commit": "1.2.2",
"prettier": "^2.4.1",
"vhtml": "^2.2.0"
}
}