Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.37 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2.37 KB
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
{
"name": "datapack",
"version": "2.1.6",
"description": "A high-performance JavaScript library for packing and unpacking binary data with a schema-based approach. Optimized for both Node.js and browser environments, datapack provides a simple and efficient way to serialize and deserialize complex data structures.",
"keywords": [
"pack",
"unpack",
"binary",
"package",
"proto",
"buffer",
"schema"
],
"main": "dist/index.js",
"module": "dist/index.mjs",
"browser": "dist/index.umd.js",
"type": "module",
"files": [
"dist",
"README.md",
"LICENSE",
"SECURITY.md"
],
"scripts": {
"build": "rollup -c",
"postbuild": "terser dist/index.umd.js --compress --mangle --output dist/index.umd.js",
"test": "tsx --test src/index.spec.ts",
"release:patch": "npm version patch && git push && git push --tags",
"release:minor": "npm version minor && git push && git push --tags",
"release:major": "npm version major && git push && git push --tags",
"coverage": "node --import tsx --test --experimental-test-coverage src/index.spec.ts",
"benchmark": "tsx benchmark/benchmark.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/nmhung1210/datapack.git"
},
"author": "nmhung1210",
"license": "MIT",
"bugs": {
"url": "https://github.com/nmhung1210/datapack/issues"
},
"homepage": "https://github.com/nmhung1210/datapack#readme",
"types": "dist/index.d.ts",
"engines": {
"node": ">=14"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.4",
"benchmark": "^2.1.4",
"eslint": "^9.39.4",
"eslint-config-prettier": "^9.1.2",
"expect": "^30.4.1",
"prettier": "^3.8.3",
"rollup": "^2.80.0",
"terser": "^5.51.2",
"tslib": "^2.8.1",
"tsx": "^4.23.12",
"typescript": "^5.9.3",
"typescript-eslint": "^8.60.1"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"node": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"browser": {
"import": "./dist/index.mjs",
"require": "./dist/index.umd.js"
},
"default": "./dist/index.js"
}
}
}