-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.01 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
{
"name": "@webcarrot/jsbcon",
"version": "0.0.1",
"description": "Simple transport format",
"main": "dist/node.cjs",
"module": "dist/node.mjs",
"types": "dist/node.d.ts",
"browser": "dist/browser.mjs",
"exports": {
"node": {
"require": "./dist/node.cjs",
"import": "./dist/node.mjs",
"types": "./dist/node.d.ts"
},
"browser": {
"require": "./dist/browser.cjs",
"import": "./dist/browser.mjs",
"types": "./dist/browser.d.ts"
},
"default": {
"require": "./dist/agnostic.cjs",
"import": "./dist/agnostic.mjs",
"types": "./dist/agnostic.d.ts"
}
},
"type": "module",
"files": [
"dist",
"src"
],
"scripts": {
"clean": "rm -rf ./dist",
"prepack": "npm run clean && npm run build:rollup",
"postpack": "npm run clean",
"build:rollup": "rollup -c ./rollup.config.mjs",
"build:deno": "node ./scripts/deno.mjs",
"build": "npm run clean && npm run build:rollup && npm run build:deno",
"test:build": "tsc -p ./src/agnostic/tsconfig.json --noEmit && tsc -p ./src/browser/tsconfig.json --noEmit && tsc -p ./src/node/tsconfig.json --noEmit",
"test:node": "jest",
"test:deno": "npm run build:deno && deno test ./deno",
"test": "npm run test:build && npm run test:node && npm run test:deno"
},
"repository": {
"type": "git",
"url": "git+https://github.com/webcarrot/jsbcon.git"
},
"keywords": [
"json",
"binary",
"compression",
"transport"
],
"author": "Wojciech Wierchoła",
"license": "MIT",
"bugs": {
"url": "https://github.com/webcarrot/jsbcon/issues"
},
"homepage": "https://github.com/webcarrot/jsbcon#readme",
"devDependencies": {
"@rollup/plugin-typescript": "^8.3.3",
"@types/jest": "^28.1.6",
"jest": "^28.1.3",
"lz4-napi": "^2.0.3",
"prettier": "^2.7.1",
"rollup": "^2.77.0",
"rollup-plugin-dts": "^4.2.2",
"snappy": "^7.1.1",
"ts-jest": "^28.0.7",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
}
}