-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
72 lines (72 loc) · 1.92 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
{
"name": "compress-json",
"version": "3.1.1",
"description": "convert JSON data to space efficient format",
"keywords": [
"json",
"compress"
],
"author": {
"name": "Beeno Tung",
"email": "aabbcc1241@yahoo.com.hk",
"url": "https://beeno-tung.surge.sh"
},
"license": "BSD-2-Clause",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts",
"browser": "./bundle.js"
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"jsdelivr": "./bundle.js",
"unpkg": "./bundle.js",
"scripts": {
"test": "run-s format build test-case",
"clean": "rimraf dist",
"format": "run-s prettier tslint",
"prettier": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"tslint": "tslint -p . --fix",
"build": "run-s clean tsc bundle minify",
"tsc": "tsc -p tsconfig.build.json",
"bundle": "esbuild --bundle src/browser.ts --outfile=bundle.js",
"minify": "esbuild --bundle --minify src/browser.ts --outfile=bundle.min.js",
"test-case": "ts-node test/index.ts",
"prepublishOnly": "run-s test-case build"
},
"directories": {
"test": "test"
},
"files": [
"bundle.js",
"bundle.min.js",
"dist"
],
"devDependencies": {
"@beenotung/tslib": "^23.4.0",
"@types/node": "*",
"compressed-json": "^1.0.15",
"esbuild": "^0.20.2",
"jsonpack": "^1.1.5",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-node": "^10.9.2",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-etc": "^1.10.1",
"typescript": "^5.4.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/beenotung/compress-json.git"
},
"bugs": {
"url": "https://github.com/beenotung/compress-json/issues"
},
"homepage": "https://github.com/beenotung/compress-json#readme"
}