generated from permafrost-dev/typescript-project-skeleton-esbuild-jest
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
69 lines (69 loc) · 2.71 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
{
"name": "node-ray-cli",
"version": "1.1.0",
"description": "Debug cli scripts with ray to fix problems faster",
"author": "Patrick Organ <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/permafrost-dev/node-ray-cli.git"
},
"bugs": {
"url": "https://github.com/permafrost-dev/node-ray-cli/issues"
},
"main": "dist/ray.js",
"scripts": {
"test": "./node_modules/.bin/jest tests --verbose",
"test:coverage": "./node_modules/.bin/jest tests --coverage",
"fmt": "prettier --config prettier.config.js --write 'scripts/*.ts' 'src/**/*.{js,ts,json,yml,yaml}' 'tests/**/*.{js,ts,json,yml,yaml}' './*.{js,json,yml,yaml}'",
"lint": "./node_modules/.bin/eslint --ext ts,js src/",
"lint:fix": "./node_modules/.bin/eslint --ext ts,js --fix src/",
"lint:staged": "./node_modules/.bin/lint-staged",
"fix": "npm run fmt && npm run lint:fix",
"build:build-script": "./node_modules/.bin/esbuild --platform=node --target=node14 --format=cjs --outdir=scripts scripts/build.ts",
"build:dev-esb": "./node_modules/.bin/esbuild --platform=node --target=node14 --define:__APP_VERSION__=\"'1.0'\" --format=cjs --bundle --outdir=dist src/index.ts",
"build:dev": "npm run build:build-script && node scripts/build.js --dev",
"build:prod": "npm run build:build-script && node scripts/build.js --prod",
"dev": "npm run build:dev && dist/ray",
"preversion": "npm run test",
"postversion": "npm run build:prod",
"prepare": "husky install"
},
"lint-staged": {
"*.{js,ts}": [
"./node_modules/.bin/prettier --config prettier.config.js --write",
"./node_modules/.bin/eslint --fix"
],
"*.{json,css,scss,gql}": [
"./node_modules/.bin/prettier --config prettier.config.js --write"
],
"*.{yaml,yml}": [
"./node_modules/.bin/prettier --config prettier.config.js --tab-width 2 --write"
]
},
"devDependencies": {
"@types/jest": "^29.2.4",
"@types/node": "^18.11.11",
"@types/yargs": "^17.0.16",
"@typescript-eslint/eslint-plugin": "^5.45.1",
"@typescript-eslint/parser": "^5.45.1",
"esbuild": "^0.19.2",
"eslint": "^8.29.0",
"eslint-plugin-jest": "^27.1.6",
"husky": "^8.0.2",
"jest": "^29.3.1",
"lint-staged": "^13.1.0",
"prettier": "^2.8.0",
"ts-jest": "^29.0.3",
"typescript": "^5.0"
},
"dependencies": {
"node-ray": "^1.19.4"
},
"bin": {
"ray": "dist/ray"
},
"engines": {
"node": ">=14.0"
}
}