-
-
Notifications
You must be signed in to change notification settings - Fork 174
/
package.json
141 lines (141 loc) · 4.34 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"author": "Stefan Goessner",
"name": "jsonpath-plus",
"version": "10.1.0",
"type": "module",
"bin": {
"jsonpath": "./bin/jsonpath-cli.js",
"jsonpath-plus": "./bin/jsonpath-cli.js"
},
"main": "dist/index-node-cjs.cjs",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./src/jsonpath.d.ts",
"browser": "./dist/index-browser-esm.js",
"umd": "./dist/index-browser-umd.cjs",
"import": "./dist/index-node-esm.js",
"require": "./dist/index-node-cjs.cjs",
"default": "./dist/index-browser-esm.js"
}
},
"module": "dist/index-node-esm.js",
"browser": "dist/index-browser-esm.js",
"types": "./src/jsonpath.d.ts",
"description": "A JS implementation of JSONPath with some additional operators",
"contributors": [
{
"name": "Prof. Gössner",
"email": "stefan.goessner@fh-dortmund.de"
},
{
"name": "Subbu Allamaraju",
"email": "subbu@subbu.org"
},
{
"name": "Mike Brevoort",
"email": "mike@brevoort.com"
},
{
"name": "Robert Krahn",
"email": "robert.krahn@gmail.com"
},
{
"name": "Brett Zamir",
"email": "brettz9@yahoo.com"
},
{
"name": "Richard Schneider",
"email": "makaretu@gmail.com"
}
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/s3u/JSONPath.git"
},
"bugs": "https://github.com/s3u/JSONPath/issues/",
"homepage": "https://github.com/s3u/JSONPath",
"engines": {
"node": ">=18.0.0"
},
"react-native": {
"vm": false
},
"dependencies": {
"@jsep-plugin/assignment": "^1.2.1",
"@jsep-plugin/regex": "^1.0.3",
"jsep": "^1.3.9"
},
"devDependencies": {
"@babel/core": "^7.25.7",
"@babel/preset-env": "^7.25.7",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"c8": "^10.1.2",
"chai": "^5.1.1",
"coveradge": "^0.8.2",
"eslint": "^9.12.0",
"eslint-config-ash-nazg": "^36.19.0",
"http-server": "^14.1.1",
"license-badger": "^0.21.1",
"mocha": "^10.7.3",
"mocha-badge-generator": "^0.11.0",
"mocha-multi-reporters": "^1.5.1",
"open-cli": "^8.0.0",
"rollup": "4.24.0",
"typedoc": "^0.26.8",
"typescript": "^5.6.2"
},
"keywords": [
"json",
"jsonpath"
],
"browserslist": [
"defaults, not op_mini all"
],
"c8": {
"reporter": [
"text",
"html",
"json-summary"
],
"exclude": [
".mocharc.cjs",
"eslint.config.js",
"src/jsonpath.d.ts",
"rollup.config.js",
".idea",
"coverage",
"dist",
"demo",
"docs",
"ignore",
"test",
"test-helpers"
]
},
"scripts": {
"prepublishOnly": "pnpm i",
"license-badge": "license-badger --corrections --uncategorizedLicenseTemplate \"\\${license} (\\${name} (\\${version}))\" --filteredTypes=nonempty --textTemplate \"License types\n(project, deps, and bundled devDeps)\" --packageJson --production badges/licenses-badge.svg",
"license-badge-dev": "license-badger --corrections --filteredTypes=nonempty --textTemplate \"License types\n(all devDeps)\" --allDevelopment badges/licenses-badge-dev.svg",
"license-badges": "npm run license-badge && npm run license-badge-dev",
"build-docs": "typedoc --out docs/ts src --excludeExternals --entryPointStrategy Expand",
"open-docs": "open-cli http://localhost:8084/docs/ts/ && npm start",
"coverage": "open-cli http://localhost:8084/coverage/ && npm start",
"coverage-badge": "coveradge badges/coverage-badge.svg",
"node-import-test": "node --experimental-modules demo/node-import-test.mjs",
"open": "open-cli http://localhost:8084/demo/ && npm start",
"start": "http-server -p 8084",
"cli": "./bin/jsonpath-cli.js package.json name",
"typescript": "tsc",
"mocha": "mocha --require test-helpers/node-env.js --reporter-options configFile=mocha-multi-reporters.json test",
"c8": "rm -Rf ./coverage && rm -Rf ./node_modules/.cache && c8 --all npm run mocha && npm run coverage-badge",
"rollup": "rollup -c",
"eslint": "eslint .",
"lint": "npm run eslint",
"test": "npm run eslint && npm run rollup && npm run c8 && npm run typescript",
"browser-test": "npm run eslint && npm run rollup && open-cli http://localhost:8084/test/ && npm start"
}
}