-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
98 lines (98 loc) · 2.75 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
{
"name": "rsql-builder",
"version": "1.3.0",
"description": "RSQL query builder",
"type": "module",
"main": "./dist/cjs/index.js",
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"scripts": {
"build": "rm -rf ./dist && npm run build:cjs && npm run build:esm",
"build:cjs": "tsc -p . && echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
"build:esm": "tsc --module ES6 --outDir dist/esm -p .",
"lint": "eslint README.md src tests",
"lint:fix": "npm run lint -- --fix",
"precommit": "lint-staged",
"prepare": "husky install",
"prepush": "npm test",
"start": "ts-node --files -P ./tsconfig.json",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/RomiC/rsql-builder.git"
},
"keywords": [
"rsql",
"query",
"builder"
],
"engines": {
"node": ">= 16.0.0"
},
"author": "Roman Charugin <i@charugin.ru>",
"contributors": [
"Roman Charugin <i@charugin.ru>",
"Mihael Šafarić <mihael.safaric@gmail.com>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/RomiC/rsql-builder/issues"
},
"homepage": "https://github.com/RomiC/rsql-builder#readme",
"devDependencies": {
"@types/jest": "29.5.12",
"@types/node": "^22.0.2",
"@typescript-eslint/eslint-plugin": "7.0.0",
"@typescript-eslint/parser": "6.21.0",
"caniuse-lite": "1.0.30001646",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsdoc": "48.10.2",
"eslint-plugin-markdown": "3.0.1",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "5.1.3",
"husky": "9.1.4",
"jest": "29.7.0",
"lint-staged": "15.2.7",
"prettier": "3.3.3",
"ts-jest": "29.2.4",
"typescript": "5.5.4"
},
"lint-staged": {
"*.ts": "npm run lint:fix"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"collectCoverage": true,
"collectCoverageFrom": [
"src/*.ts"
],
"coverageReporters": [
"lcov"
],
"moduleNameMapper": {
"./and.js": "<rootDir>/src/and.ts",
"./comparison.js": "<rootDir>/src/comparison.ts",
"./eq.js": "<rootDir>/src/eq.ts",
"./ge.js": "<rootDir>/src/ge.ts",
"./gt.js": "<rootDir>/src/gt.ts",
"./in-list.js": "<rootDir>/src/in-list.ts",
"./le.js": "<rootDir>/src/le.ts",
"./lt.js": "<rootDir>/src/lt.ts",
"./ne.js": "<rootDir>/src/ne.ts",
"./or.js": "<rootDir>/src/or.ts",
"./out-list.js": "<rootDir>/src/out-list.ts",
"./escape-value.js": "<rootDir>/src/escape-value.ts",
"./operation.js": "<rootDir>/src/operation.ts"
},
"roots": [
"<rootDir>/src/",
"<rootDir>/tests/"
]
}
}