-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
54 lines (54 loc) · 1.89 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
{
"name": "jsonschema-key-compression",
"version": "1.7.0",
"description": "Compress json-data based on its json-schema",
"author": "pubkey",
"keywords": [
"json",
"compression",
"jsonschema",
"json-schema",
"compress"
],
"main": "./dist/lib/index.js",
"jsnext:main": "./dist/es/index.js",
"module": "./dist/es/index.js",
"types": "./dist/es/index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/pubkey/jsonschema-key-compression.git"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/pubkey/jsonschema-key-compression/issues"
},
"homepage": "https://github.com/pubkey/jsonschema-key-compression#readme",
"scripts": {
"lint": "tslint --project .",
"lint:fix": "tslint --project . --fix",
"transpile": "tsc -p ./ && copyfiles -u 1 \"src/**/*.d.ts\" dist/lib && echo '# transpile es5 (require) sucess!'",
"transpile:es": "tsc -p ./ --target ES5 --module ES6 --outDir ./dist/es && copyfiles -u 1 \"src/**/*.d.ts\" dist/es && echo '# transpile es6 (modules) sucess!'",
"build": "rimraf -fr ./dist && npm run transpile && npm run transpile:es",
"test": "mocha -r ts-node/register test/unit/index.test.ts --bail",
"test:performance": "mocha -r ts-node/register --bail --exit ./test/performance.test.ts",
"test:efficiency": "mocha -r ts-node/register --bail --exit ./test/efficiency.test.ts",
"dev": "mocha -r ts-node/register test/unit/index.test.ts --watch --watch-extensions ts"
},
"devDependencies": {
"@types/faker": "5.5.9",
"@types/mocha": "10.0.9",
"@types/node": "22.8.7",
"@types/node-gzip": "1.1.3",
"assert": "2.1.0",
"async-test-util": "2.5.0",
"copyfiles": "2.4.1",
"faker": "5.5.3",
"mocha": "10.8.2",
"node-gzip": "1.1.2",
"rimraf": "6.0.1",
"ts-node": "10.9.2",
"tslint": "6.1.3",
"typescript": "5.6.3"
}
}