-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
111 lines (111 loc) · 3.48 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
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "maptalks",
"version": "1.0.0",
"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"
},
"files": [
"ACKNOWLEDGEMENT",
"dist/maptalks.min.js",
"dist/maptalks.js",
"dist/maptalks.js.map",
"dist/maptalks.es.js",
"dist/maptalks.es.js.map",
"dist/maptalks.d.ts",
"dist/maptalks.css",
"dist/images/**/*",
"src/**/*.ts",
"src/**/*.json"
],
"homepage": "https://maptalks.org",
"scripts": {
"clean": "rimraf dist",
"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",
"build-dts": "dts-bundle-generator src/index.ts -o dist/maptalks.d.ts --umd-module-name maptalks --no-banner --no-check",
"build": "npm run clean && npm run lint && npm run tsc && rollup -c && npm run build-styles && 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/maptalks.d.ts",
"unpkg": "dist/maptalks.min.js",
"jsdelivr": "dist/maptalks.min.js",
"module": "dist/maptalks.es.js",
"module_browser": "dist/maptalks.es.js",
"main": "dist/maptalks.js",
"minify": "dist/maptalks.min.js",
"style": "dist/maptalks.css",
"dependencies": {
"@maptalks/feature-filter": "^1.3.0",
"@maptalks/function-type": "^1.4.0",
"colorin": "^0.6.0",
"frustum-intersects": "^0.1.0",
"lineclip": "^1.1.5",
"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.5.0",
"expect-maptalks": "^0.4.1",
"expect.js": "^0.3.1",
"happen": "^0.3.1",
"karma": "^6.4.4",
"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",
"rimraf": "^6.0.1",
"rollup": "^4.13.0",
"rollup-plugin-dts": "^6.1.0",
"sinon": "^3.2.1",
"tslib": "^2.6.2",
"typedoc": "^0.27.5",
"typedoc-plugin-markdown": "^4.3.2",
"typescript": "^5.4.2",
"typescript-eslint": "^7.18.0"
},
"optionalDependencies": {
"@rollup/rollup-darwin-x64": "^4.13.0",
"@rollup/rollup-linux-x64-gnu": "^4.13.0"
}
}