-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
68 lines (68 loc) · 2.13 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
{
"name": "@discoveryjs/json-ext",
"version": "0.6.3",
"description": "A set of utilities that extend the use of JSON",
"keywords": [
"json",
"utils",
"stream",
"async",
"promise",
"stringify",
"info"
],
"author": "Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/discoveryjs/json-ext.git"
},
"engines": {
"node": ">=14.17.0"
},
"type": "module",
"main": "./cjs/index.cjs",
"module": "./src/index.js",
"types": "./index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"require": "./cjs/index.cjs",
"import": "./src/index.js"
},
"./dist/*": "./dist/*",
"./package.json": "./package.json"
},
"scripts": {
"test": "npm run test:src",
"lint": "eslint src",
"lint-and-test": "npm run lint && npm test",
"bundle": "node scripts/bundle.js",
"transpile": "node scripts/transpile.cjs",
"test:all": "npm run test:src && npm run test:cjs && npm run test:dist && npm run test:e2e",
"test:src": "mocha --reporter progress src/*.test.js",
"test:cjs": "mocha --reporter progress cjs/*.test.cjs",
"test:e2e": "mocha --reporter progress test-e2e",
"test:dist": "mocha --reporter progress dist/test",
"test:deno": "node scripts/deno-adapt-test.js && mocha --reporter progress deno-tests/*.test.js",
"bundle-and-test": "npm run bundle && npm run test:dist",
"coverage": "c8 --reporter=lcovonly npm test",
"prepublishOnly": "npm run lint && npm run bundle && npm run transpile && npm run test:all"
},
"devDependencies": {
"c8": "^7.10.0",
"chalk": "^4.1.0",
"esbuild": "^0.24.0",
"eslint": "^8.57.0",
"mocha": "^9.2.2",
"rollup": "^2.79.2"
},
"files": [
"cjs",
"!cjs/*{.test,-cases}.cjs",
"dist",
"src",
"!src/*{.test,-cases}.js",
"index.d.ts"
]
}