-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.61 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 2.61 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
{
"name": "@mw-experts/rsql",
"version": "2.2.1",
"description": "Complete and thoroughly tested parser for RSQL/FIQL written in Typescript(Javascript). Tool for converting RSQL/FIQL to SQL. Tool for filtering array of objects using RSQL/FIQL. Built with zero dependencies.",
"keywords": [
"javascript",
"typescript",
"rsql",
"fiql",
"parser",
"filter"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mw-experts/rsql.git"
},
"author": "Andrey Korovin",
"license": "MIT",
"bugs": {
"url": "https://github.com/mw-experts/rsql/issues"
},
"homepage": "https://github.com/mw-experts/rsql#readme",
"module": "dist/esm/public-api.js",
"main": "dist/cjs/public-api.js",
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"build-tsc-cjs": "tsc -p tsconfig.prod-cjs.json",
"build-tsc-esm": "tsc -p tsconfig.prod-esm.json",
"build-browser": "webpack",
"publish:patch": "rm -rf dist && npm version patch -m 'publish v.%s' && npm run build-browser && npm run build-tsc-cjs && npm run build-tsc-esm && npm publish --access=public && git push origin HEAD",
"publish:minor": "rm -rf dist && npm version minor -m 'publish v.%s' && npm run build-browser && npm run build-tsc-cjs && npm run build-tsc-esm && npm publish --access=public && git push origin HEAD",
"publish:major": "rm -rf dist && npm version major -m 'publish v.%s' && npm run build-browser && npm run build-tsc-cjs && npm run build-tsc-esm && npm publish --access=public && git push origin HEAD",
"test": "jest src --passWithNoTests --collectCoverage --colors",
"test-watch": "jest src --passWithNoTests --colors --watch",
"test-ci": "jest src --passWithNoTests --bail --ci",
"prettier": "prettier --write \"src/**/*.{js,ts,scss,html}\"",
"prettier-ci": "prettier --check \"src/**/*.{js,ts,scss,html}\"",
"pre-commit": "./tools/pre-commit.sh",
"pre-push": "./tools/pre-push.sh"
},
"lint-staged": {
"src/**/*.{js,ts}": [
"jest --bail --findRelatedTests"
],
"src/**/*.{js,ts,scss,html}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run pre-commit",
"commit-msg": "node ./tools/commit-msg.js",
"pre-push": "npm run pre-push"
}
},
"devDependencies": {
"@types/jest": "^26.0.23",
"husky": "^6.0.0",
"jest": "^27.0.3",
"lint-staged": "^11.0.0",
"prettier": "^2.3.0",
"ts-jest": "^27.0.1",
"ts-loader": "^9.2.2",
"typescript": "^4.3.2",
"webpack": "^5.38.1",
"webpack-cli": "^4.7.0"
}
}