-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
74 lines (74 loc) · 2.85 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
{
"name": "@versatiles/style",
"version": "5.2.9",
"description": "Generate StyleJSON for MapLibre",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"check": "npm run lint && npm run test && npm run build",
"build": "rm -rf release; npm run build-browser && npm run build-node && npm run build-styles && npm run build-sprites && npm run doc",
"build-browser": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:browser && $(cd release/versatiles-style; tar -cf - versatiles-style.* | gzip -9 > ../versatiles-style.tar.gz)",
"build-node": "rm -rf dist && rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:node && chmod +x dist/index.js && rm -r dist/declaration",
"build-styles": "tsx scripts/build-styles.ts",
"build-sprites": "tsx scripts/build-sprites.ts",
"dev": "tsx scripts/dev.ts",
"doc": "tsx scripts/screenshots.ts && typedoc --options typedoc.json",
"lint": "eslint --color .",
"prepack": "npm run check",
"release": "npx vrt release-npm",
"test": "npm run test-typescript",
"test-coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage",
"test-typescript": "NODE_OPTIONS=--experimental-vm-modules jest",
"upgrade": "npm-check-updates -u && rm -f package-lock.json && rm -rf node_modules; npm i"
},
"repository": {
"type": "git",
"url": "git+https://github.com/versatiles-org/versatiles-style.git"
},
"author": "yetzt <[email protected]>, Michael Kreil <[email protected]>",
"license": "MIT",
"type": "module",
"dependencies": {
"brace-expansion": "^4.0.0"
},
"files": [
"dist/*",
"src/*"
],
"devDependencies": {
"@maplibre/maplibre-gl-native": "^6.0.0",
"@maplibre/maplibre-gl-style-spec": "^23.1.0",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@types/bin-pack": "^1.0.3",
"@types/brace-expansion": "^1.1.2",
"@types/inquirer": "^9.0.7",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.0",
"@types/tar-stream": "^3.1.3",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"@versatiles/release-tool": "^1.2.7",
"bin-pack": "^1.0.2",
"eslint": "^9.18.0",
"inquirer": "^12.3.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-ts-webcompat-resolver": "^1.0.0",
"npm-check-updates": "^17.1.14",
"rollup": "^4.34.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-sourcemaps2": "^0.4.3",
"sharp": "^0.33.5",
"tar-stream": "^3.1.7",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
"typedoc": "^0.27.6",
"typedoc-plugin-markdown": "^4.4.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.22.0"
}
}