forked from maptalks/maptalks.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 3.23 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "maptalks",
"version": "1.0.0-rc.33",
"description": "A light JavaScript library to create integrated 2D/3D maps.",
"license": "BSD-3-Clause",
"author": "Fu Zhen",
"keywords": [
"javascript",
"gis",
"map",
"2d-maps",
"3d-maps",
"geospatial"
],
"repository": {
"type": "git",
"url": "https://github.com/maptalks/maptalks.js.git"
},
"bugs": {
"url": "https://github.com/maptalks/maptalks.js/issues"
},
"homepage": "https://maptalks.org",
"scripts": {
"docs:build": "npx tsc --project docs/typedoc-plugins && npx typedoc",
"docs:english": "npx tsc --project docs/typedoc-plugins && npx typedoc --lang english",
"tsc": "tsc --noEmit && tsc --project tsconfig.json",
"build-dts": "dts-bundle-generator src/index.ts -o dist/maptalks.d.ts --umd-module-name maptalks --no-banner --no-check",
"build": "npm run lint && npm run tsc && npm run build-styles && rollup -c && npm run build-dts",
"build-test": "rollup -c --environment BUILD:test",
"build-styles": "cp -rf assets dist || xcopy assets dist /e /y",
"dev": "rollup --environment BUILD:dev -c -w",
"lint": "npx eslint src/**/*.ts test/**/*.js",
"pretest": "npm run lint && npm run build-test",
"prepare": "npm run build",
"preversion": "npm run lint",
"test": "karma start build/karma.config.js",
"tdd": "karma start build/karma.config.js --no-single-run",
"version": "npm run build"
},
"types": "dist/index.d.ts",
"unpkg": "dist/maptalks.js",
"jsdelivr": "dist/maptalks.js",
"module": "dist/maptalks.es.js",
"module_browser": "dist/maptalks.es.js",
"main": "dist/maptalks.js",
"minify": "dist/maptalks.min.js",
"jsnext:main": "dist/index.js",
"style": "dist/maptalks.css",
"d.ts": "dist/maptalks.d.ts",
"dependencies": {
"@maptalks/feature-filter": "^1.3.0",
"@maptalks/function-type": "^1.3.1",
"frustum-intersects": "^0.1.0",
"lineclip": "^1.1.5",
"maptalks": "file:",
"rbush": "^2.0.2",
"simplify-js": "^1.2.1"
},
"devDependencies": {
"@babel/preset-env": "^7.24.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^20.11.30",
"@types/offscreencanvas": "^2019.7.3",
"dts-bundle-generator": "^9.5.1",
"eslint": "^8.57.0",
"eslint-plugin-mocha": "^10.4.1",
"expect-maptalks": "^0.4.1",
"expect.js": "^0.3.1",
"happen": "^0.3.1",
"karma": "^6.4.1",
"karma-chrome-launcher": "^3.1.1",
"karma-coverage": "^2.2.0",
"karma-expect": "^1.1.3",
"karma-expect-maptalks": "^0.1.5",
"karma-happen": "^0.1.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sinon": "^1.0.5",
"mocha": "^10.3.0",
"rollup": "^4.13.0",
"rollup-plugin-dts": "^6.1.0",
"sinon": "^3.2.1",
"tslib": "^2.6.2",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^4.0.0-next.55",
"typescript": "^5.4.2",
"typescript-eslint": "^7.3.1"
},
"optionalDependencies": {
"@rollup/rollup-darwin-x64": "^4.13.0",
"@rollup/rollup-linux-x64-gnu": "^4.13.0"
}
}