-
Notifications
You must be signed in to change notification settings - Fork 51
/
package.json
65 lines (65 loc) · 1.9 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
{
"name": "wrld.js",
"amdName": "Wrld",
"version": "1.1.0",
"description": "A JavaScript API for beautiful 3D maps",
"author": "WRLD",
"license": "See license in LICENSE.md",
"type": "module",
"source": "./src/index.ts",
"exports": "./dist/wrld.modern.js",
"main": "./dist/wrld.cjs",
"module": "./dist/wrld.module.js",
"unpkg": "./cdn/wrld.js",
"types": "./dist/wrld.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/wrld3d/wrld.js.git"
},
"files": [
"dist",
"cdn/wrld.js"
],
"scripts": {
"clean": "rm -rf dist cdn",
"build:package": "microbundle",
"build:cdn": "microbundle -o cdn/wrld.js --format umd --generateTypes false --sourcemap false --external none",
"build": "run-s build:package build:cdn",
"build-dist": "npm run build",
"build-min": "npm run build",
"watch": "microbundle watch --generateTypes false",
"watch:cdn": "microbundle watch -o cdn/wrld.js --format umd --generateTypes false --external none",
"start": "npm run watch",
"dev": "npm run watch",
"lint": "eslint . --ext .js,.ts",
"test": "run-s lint test:unit",
"test:interop": "jest -t map_interop --coverage=false",
"test:unit": "jest",
"test:watch": "jest --watch --coverage=false"
},
"dependencies": {
"@types/leaflet": "^1.0.69",
"leaflet": "1.0.1"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-typescript": "^7.15.0",
"@types/jest": "^27.0.1",
"@types/node": "^12.20.15",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"babel-jest": "^27.1.0",
"eslint": "^7.32.0",
"jest": "^27.1.0",
"microbundle": "^0.13.3",
"npm-run-all": "^4.1.5",
"sinon": "~1.17.6",
"ts-jest": "^27.0.5",
"ts-node": "^9.0.0",
"typescript": "^4.0.5"
},
"prettier": {
"printWidth": 120
}
}