-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
75 lines (75 loc) · 2.5 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
74
75
{
"name": "jora",
"version": "1.0.0-beta.13",
"description": "JavaScript object query engine",
"author": "Roman Dvornov <[email protected]> (https://github.com/lahmatiy)",
"repository": "discoveryjs/jora",
"license": "MIT",
"keywords": [
"query",
"data",
"path",
"language",
"javascript",
"json"
],
"type": "module",
"main": "./cjs/index.cjs",
"module": "./src/index.js",
"unpkg": "./dist/jora.esm.js",
"jsdelivr": "./dist/jora.esm.js",
"exports": {
".": {
"import": "./src/index.js",
"require": "./cjs/index.cjs"
},
"./dist/*": "./dist/*",
"./package.json": "./package.json"
},
"scripts": {
"lint": "eslint src test docs",
"test": "mocha --recursive --exclude '**/helpers/*' --reporter ${REPORTER:-progress}",
"test:cjs": "mocha cjs-test --recursive --exclude '**/helpers/*' --reporter ${REPORTER:-progress}",
"test:dist": "mocha dist/test --reporter ${REPORTER:-progress}",
"compile-modules": "node scripts/compile-modules.cjs",
"compile-modules-and-test": "npm run compile-modules && npm test",
"bundle": "node scripts/bundle",
"bundle-and-test": "npm run bundle && npm run test:dist",
"esm-to-cjs": "node scripts/esm-to-cjs.cjs",
"esm-to-cjs-and-test": "npm run esm-to-cjs && npm run test:cjs",
"build": "npm run compile-modules && npm run esm-to-cjs && npm run bundle",
"build-and-test": "npm run compile-modules && npm run esm-to-cjs-and-test && npm run bundle-and-test",
"watch": "node scripts/watch.cjs",
"start": "discovery",
"build-gh-pages": "discovery-build -o .gh-pages --clean --single-file",
"prepare": "npm run compile-modules && npm run esm-to-cjs",
"prepack": "npm run lint && npm run test && npm run test:cjs && npm run bundle-and-test",
"coverage": "c8 --exclude src/lang/build.js --exclude src/lang/parse.js --exclude test --reporter=lcovonly npm test"
},
"discovery": "./docs/discovery/config.js",
"dependencies": {
"@discoveryjs/natural-compare": "^1.1.0"
},
"devDependencies": {
"@discoveryjs/cli": "^2.12.0",
"@discoveryjs/discovery": "^1.0.0-beta.92",
"@lahmatiy/jison": "^0.4.18-remastered.7",
"c8": "^8.0.1",
"esbuild": "~0.23.0",
"eslint": "^8.52.0",
"jora": ".",
"js-beautify": "^1.15.1",
"marked": "^5.1.0",
"mocha": "^9.2.1",
"rollup": "^2.70.0"
},
"engines": {
"node": "^10.12.0 || ^12.20.0 || ^14.13.0 || >=15.0.0"
},
"files": [
"cjs",
"dist",
"src",
"!src/compile-modules/**"
]
}