forked from WebReflection/flatted
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
59 lines (59 loc) · 1.82 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
{
"name": "teleport-javascript",
"version": "1.0.0",
"description": "A super light and fast JavaScript object (de)serialization that includes date, bigint, regex, etc.",
"unpkg": "min.js",
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "types.d.ts",
"scripts": {
"bench": "node test/bench.js",
"build": "npm run cjs && npm test && npm run esm && npm run lint && npm run min && npm run size",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"cjs": "cp index.js cjs/index.js; echo 'module.exports = TeleportJS' >> cjs/index.js",
"esm": "cp index.js esm/index.js; echo 'export default TeleportJS' >> esm/index.js; echo 'export var parse = TeleportJS.parse' >> esm/index.js; echo 'export var stringify = TeleportJS.stringify' >> esm/index.js",
"lint": "standard index.js",
"min": "terser index.js -c -m --comments '/^$/' > min.js",
"size": "cat index.js | wc -c;cat min.js | wc -c;gzip -c9 min.js | wc -c;cat min.js | brotli | wc -c",
"test": "istanbul cover test/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/codenirvana/teleport-javascript.git"
},
"keywords": [
"JSON",
"circular",
"cyclic",
"stringify",
"parse",
"serialization",
"date",
"bigint"
],
"author": "Udit Vasu",
"license": "ISC",
"bugs": {
"url": "https://github.com/codenirvana/teleport-javascript/issues"
},
"homepage": "https://github.com/codenirvana/teleport-javascript#readme",
"devDependencies": {
"circular-json": "latest",
"circular-json-es6": "latest",
"coveralls": "latest",
"flatted": "latest",
"istanbul": "latest",
"jsan": "latest",
"standard": "latest",
"terser": "latest"
},
"standard": {
"globals": [
"BigInt"
],
"ignore": [
"test",
"min.js"
]
}
}