-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
82 lines (82 loc) · 2.67 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
{
"name": "sszvis",
"version": "3.1.1",
"description": "Statistik Stadt Zürich Visualization Library",
"keywords": [
"d3",
"visualization",
"data visualization"
],
"homepage": "https://statistikstadtzuerich.github.io/sszvis/",
"repository": {
"type": "git",
"url": "https://github.com/statistikstadtzuerich/sszvis.git"
},
"license": "BSD-3-Clause",
"peerDependencies": {
"d3": ">=7.9.0"
},
"dependencies": {
"immer": "^10.1.1",
"nano-throttle": "^1.0.3"
},
"devDependencies": {
"@11ty/eleventy": "^2.0.1",
"@babel/core": "^7.25.2",
"@babel/plugin-transform-modules-commonjs": "^7.24.8",
"@babel/preset-env": "^7.25.3",
"@eslint/js": "^9.8.0",
"@playwright/test": "^1.46.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-terser": "^0.4.4",
"@semantic-release/changelog": "^6.0.3",
"@types/node": "^22.1.0",
"d3": "^7.9.0",
"d3-dsv": "^3.0.1",
"eslint": "^9.9.0",
"eslint-plugin-sonarjs": "^1.0.4",
"eslint-plugin-unicorn": "^55.0.0",
"eslint-plugin-unused-imports": "^4.1.3",
"glob": "^11.0.0",
"globals": "^15.9.0",
"ndjson-cli": "^0.3.1",
"playwright": "^1.46.0",
"prettier": "^3.3.3",
"rollup": "^4.20.0",
"topojson-client": "^3.1.0",
"topojson-server": "^3.0.1",
"topojson-simplify": "^3.0.3",
"vitest": "^2.0.5"
},
"files": [
"src",
"build"
],
"main": "build/sszvis.js",
"module": "src/index.js",
"jsnext:main": "src/index.js",
"unpkg": "build/sszvis.js",
"jsdelivr": "build/sszvis.js",
"scripts": {
"start": "npx @11ty/eleventy --serve --port 8000",
"build": "npm run build:lib && npm run build:topo && npm run build:docs && npm run build:contrib",
"build:lib": "rollup -c --bundleConfigAsCjs",
"build:topo": "scripts/topo.sh",
"build:docs": "npx @11ty/eleventy",
"build:contrib": "cd contrib/ProjectSpecimen && npm run build && cd -",
"build:watch": "npm run build:lib -- --watch",
"generate:changelogs": "npx semantic-release",
"test": "npm run test:lint && npm run test:unit && npm run test:snapshot",
"test:ci": "npm run test:lint && npm run test:unit",
"test:lint": "npx eslint",
"test:unit": "vitest run --exclude **/snapshot.test.js",
"test:snapshot": "rm -rf test/snapshot/__results__ && npx playwright test",
"test:watch": "vitest",
"prepublishOnly": "npm run test:ci && npm run build",
"prettier": "prettier --write .",
"postversion": "npx echo-cli Don't forget to push the new version's tag with \"git push --follow-tags\"."
}
}