-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.63 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.63 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
{
"name": "restql",
"version": "1.2.7",
"description": "RESTful API Resolver for Nested-Linked Resources | 🕸 🕷",
"type": "module",
"unpkg": "./dist/index.js",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.cjs"
}
},
"files": [
"dist/"
],
"scripts": {
"prepare": "pnpm run clean && pnpm run lint && pnpm run test && pnpm run build",
"clean": "rm -fr ./coverage/ ./dist/ ./stats.html",
"lint": "eslint ./src/",
"lint:fix": "pnpm run lint --fix",
"test": "jest ./src/",
"test:coverage": "pnpm run test --coverage",
"test:coverage:html": "pnpm run test:coverage && open ./coverage/lcov-report/index.html",
"test:watch": "pnpm run test --watch",
"build": "pnpm run build:cjs && pnpm run build:esm && pnpm run build:umd && pnpm run build:umd:min && pnpm run build:types",
"build:cjs": "MODULE_FMT=cjs rollup --config",
"build:esm": "MODULE_FMT=esm rollup --config",
"build:umd": "MODULE_FMT=umd rollup --config",
"build:umd:min": "MODULE_FMT=umd MINIFY=true rollup --config",
"build:types": "MODULE_FMT=esm TYPES=true rollup --config",
"playground": "tsx ./playground/index.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/relztic/restql.git"
},
"keywords": [
"package",
"typescript",
"rest",
"api",
"recursive",
"resolver"
],
"author": "Ariel Díaz <relztic@gmail.com> (https://www.linkedin.com/in/relztic)",
"license": "MIT",
"bugs": {
"url": "https://github.com/relztic/restql/issues"
},
"homepage": "https://github.com/relztic/restql#readme",
"dependencies": {
"es-toolkit": "^1.44.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^16.0.3",
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/jest": "^30.0.0",
"@types/node": "^25.5.2",
"eslint": "^10.0.3",
"eslint-config-prettier": "^10.1.8",
"eslint-flat-config-airbnb": "^2.0.5",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-jest": "^29.15.0",
"eslint-plugin-prettier": "^5.5.5",
"globals": "^17.3.0",
"jest": "^30.2.0",
"prettier": "^3.8.1",
"rollup": "^4.59.0",
"rollup-plugin-dts": "^6.3.0",
"rollup-plugin-esbuild": "^6.2.1",
"rollup-plugin-visualizer": "^7.0.0",
"ts-jest": "^29.4.6",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1"
},
"overrides": {
"serialize-javascript": "^7.0.3"
}
}