-
-
Notifications
You must be signed in to change notification settings - Fork 201
Expand file tree
/
Copy pathpackage.json
More file actions
161 lines (161 loc) · 4.9 KB
/
Copy pathpackage.json
File metadata and controls
161 lines (161 loc) · 4.9 KB
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"author": "Stefan Goessner",
"name": "jsonpath-plus",
"version": "10.4.1",
"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",
".": {
"browser": {
"types": "./dist/jsonpath-browser.d.ts",
"default": "./dist/index-browser-esm.js"
},
"umd": {
"types": "./dist/jsonpath-browser.d.ts",
"default": "./dist/index-browser-umd.cjs"
},
"import": {
"types": "./dist/jsonpath-node.d.ts",
"default": "./dist/index-node-esm.js"
},
"require": {
"types": "./dist/jsonpath-node.d.cts",
"default": "./dist/index-node-cjs.cjs"
},
"default": {
"types": "./dist/jsonpath.d.ts",
"default": "./dist/index-browser-esm.js"
}
}
},
"types": "./dist/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.3.0",
"@jsep-plugin/regex": "^1.0.4",
"jsep": "^1.4.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@babel/core": "^8.0.1",
"@babel/preset-env": "^8.0.2",
"@rollup/plugin-babel": "^7.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@types/chai": "^5.2.3",
"@types/mocha": "^10.0.10",
"@types/node": "^26.2.0",
"c8": "^12.0.0",
"chai": "^6.2.2",
"coveradge": "^0.8.2",
"eslint": "^10.8.1",
"eslint-config-ash-nazg": "^42.4.0",
"http-server": "^14.1.1",
"license-badger": "^0.23.0",
"mocha": "^11.8.0",
"mocha-badge-generator": "^0.11.0",
"mocha-multi-reporters": "^1.5.1",
"open-cli": "^9.0.0",
"rollup": "4.62.4",
"typedoc": "^0.28.20",
"typescript": "^6.0.3"
},
"keywords": [
"json",
"jsonpath"
],
"browserslist": [
"defaults, not op_mini all"
],
"c8": {
"reporter": [
"text",
"html",
"json-summary"
],
"exclude": [
".mocharc.cjs",
".ncurc.cjs",
"eslint.config.js",
"rollup.config.js",
".idea",
"coverage",
"dist",
"demo",
"docs",
"ignore",
"test",
"test-helpers"
]
},
"scripts": {
"prepublishOnly": "pnpm i && npm run build && npm run build-docs",
"attw": "attw --pack .",
"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 demo/node-import-test.js",
"open": "open-cli http://localhost:8084/demo/ && npm start",
"start": "http-server -p 8084",
"cli": "./bin/jsonpath-cli.js package.json name",
"tsc-demo": "tsc -p demo/tsconfig.json",
"tsc-prod": "tsc -p tsconfig-prod.json",
"tsc": "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",
"build": "npm run rollup && npm run tsc-prod && npm run tsc-demo",
"eslint": "eslint .",
"lint": "npm run eslint --",
"test": "npm run eslint && npm run rollup && npm run c8 && npm run tsc",
"browser-test": "npm run eslint && npm run rollup && open-cli http://localhost:8084/test/ && npm start"
}
}