-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathpackage.json
61 lines (61 loc) · 2.01 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
{
"name": "gauge-chart",
"version": "0.0.0",
"description": "**A library for creating nice and flexible gauge charts.**",
"main": "dist/commonjs-bundle.js",
"author": "",
"license": "ISC",
"scripts": {
"test": "jest",
"bundle-base": "esbuild src/index.ts --bundle --target=es2020",
"bundle-esm": "npm run bundle-base -- --format=esm --outfile=dist/bundle.mjs",
"bundle-commonjs": "npm run bundle-base -- --format=cjs --outfile=dist/commonjs-bundle.js",
"bundle": "npm run bundle-esm && npm run bundle-commonjs",
"bundle:prod": "npm run bundle-esm -- --minify && npm run bundle-commonjs",
"compile-types": "tsc",
"build": "rm -rf dist && npm run bundle:prod && npm run compile-types",
"prepare": "husky install",
"dev-server": "vite . --open /examples/developing/",
"dev": "concurrently 'npm run dev-server' 'npm run bundle-esm -- --watch'",
"lint": "prettier --check . && eslint src/**/*.ts",
"prepublish": "npm run build"
},
"lint-staged": {
"**/*": [
"prettier --write --ignore-unknown"
],
"**/*.{js,ts}": [
"eslint --fix",
"prettier --write --ignore-unknown"
]
},
"dependencies": {
"d3": "^4.13.0",
"d3-scale-chromatic": "^1.5.0"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@types/d3": "^4.13.12",
"@types/d3-scale-chromatic": "^1.5.1",
"@types/jest": "^28.1.6",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"concurrently": "^7.3.0",
"esbuild": "^0.14.51",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.4",
"eslint-plugin-promise": "^6.0.0",
"husky": "^8.0.1",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"lint-staged": "^13.0.3",
"prettier": "2.7.1",
"ts-jest": "^28.0.7",
"typescript": "^4.7.4",
"vite": "^3.0.4"
}
}