-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.29 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
{
"name": "tsguarder",
"version": "1.0.1",
"description": "A simple tool for creating TypeScript guards including assertions",
"keywords": [
"typescript",
"guards",
"assertions",
"validation"
],
"homepage": "https://github.com/gmaxlev/tsguarder",
"repository": {
"type": "git",
"url": "https://github.com/gmaxlev/tsguarder.git"
},
"bugs": "https://github.com/gmaxlev/tsguarder/issues",
"main": "./lib/index.js",
"module": "./lib/index.esm.js",
"types": "./lib/index.d.ts",
"author": "Maksym Levytskyi https://github.com/gmaxlev",
"license": "MIT",
"scripts": {
"test": "npm run prettier && npm run lint && node --experimental-vm-modules node_modules/jest/bin/jest.js . --verbose",
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js . --watch --verbose",
"dev": "nodemon --watch './**/*.ts' --exec 'node --experimental-specifier-resolution=node --loader ts-node/esm' src/index.ts",
"build:dts": "tsc --declaration --emitDeclarationOnly -p . --outDir dts",
"build": "rm -rf lib && rm -rf dts && npm run build:dts && rollup -c rollup.config.cjs --bundleConfigAsCjs && rm -rf dts",
"lint": "eslint 'src/**/*.ts'",
"prettier": "prettier --check .",
"prepare": "husky install"
},
"lint-staged": {
"*.{ts,js}": [
"eslint . --fix",
"prettier . --write",
"npm run test"
],
"*.md": [
"prettier . --write"
]
},
"files": [
"lib"
],
"devDependencies": {
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/jest": "^29.4.0",
"@types/node": "^18.14.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"babel-jest": "^29.5.0",
"cross-env": "^7.0.3",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-standard-with-typescript": "^34.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"jest": "^29.4.3",
"lint-staged": "^13.1.2",
"nodemon": "^2.0.20",
"prettier": "2.8.4",
"rollup": "^3.18.0",
"rollup-plugin-dts": "^5.2.0",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-typescript2": "^0.34.1",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
}
}