-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
61 lines (61 loc) · 1.97 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
{
"name": "pip-requirements-js",
"version": "0.2.1",
"description": "A robust parser for requirements.txt files",
"keywords": [
"pip",
"python",
"requirements.txt"
],
"author": "Michael Matloka",
"license": "ISC",
"main": "dist/index.js",
"homepage": "https://github.com/Twixes/pip-requirements-js#readme",
"repository": "Twixes/pip-requirements-js",
"packageManager": "[email protected]",
"scripts": {
"prepare": "husky install",
"lint": "eslint --fix src/",
"lint:check": "eslint src/",
"format": "prettier --write .",
"format:check": "prettier --check .",
"clean": "rimraf dist",
"compile:ohm": "ohm generateBundles --withTypes src/*",
"compile:ts": "tsc",
"compile:ts:check": "tsc --noEmit",
"compile": "pnpm compile:ohm && pnpm compile:ts",
"compile:check": "pnpm compile:ohm && pnpm compile:ts:check",
"copy:ohm": "cp src/**.ohm-bundle.* dist/",
"test": "pnpm jest",
"build": "pnpm clean && pnpm compile && pnpm copy:ohm",
"prepublishOnly": "pnpm build && pnpm test"
},
"dependencies": {
"ohm-js": "^17.1.0"
},
"devDependencies": {
"@ohm-js/cli": "^2.0.0",
"@types/jest": "^29.5.2",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"eslint": "^8.44.0",
"eslint-config-standard-with-typescript": "^36.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^13.2.3",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
},
"lint-staged": {
"*.{js,json,md,yml,yaml}": "prettier --write",
"src/*.ts": [
"prettier --write",
"eslint --fix"
]
}
}