generated from permafrost-dev/typescript-project-skeleton-esbuild-jest
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
66 lines (66 loc) · 2.48 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
{
"name": "express-ray",
"version": "1.2.0",
"description": "Debug express.js server code with Ray to fix problems faster",
"author": "Patrick Organ <patrick@permafrost.dev>",
"license": "MIT",
"main": "dist/index.cjs.js",
"module": "dist/index.es.mjs",
"typings": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.es.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js"
}
},
"scripts": {
"test": "./node_modules/.bin/jest tests --verbose",
"test:coverage": "./node_modules/.bin/jest tests --coverage",
"fmt": "./node_modules/.bin/prettier --config prettier.config.js --write 'src/**/*.{js,ts,json,yml,yaml}' 'tests/**/*.{js,ts,json,yml,yaml}' './*.{js,yml,yaml,json}'",
"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": "npm run build:prod",
"build:all": "npm run build:prod && npm run build:dts",
"build:dts": "node scripts/generate-typescript-definitions.js",
"build:dev": "node ./scripts/build.js",
"build:prod": "node ./scripts/build.js --production",
"preversion": "npm run test",
"postversion": "npm run build:all",
"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": "^27.4.0",
"@types/node": "^17.0.18",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"dts-bundle-generator": "^6.5.0",
"esbuild": "^0.18.1",
"eslint": "^8.10.0",
"eslint-plugin-jest": "^26.1.1",
"husky": "^8.0.1",
"jest": "^27.5.1",
"lint-staged": "^13.0.3",
"prettier": "^2.5.1",
"ts-jest": "^27.1.3",
"typescript": "^4.6"
},
"dependencies": {
"micromatch": "^4.0.4",
"node-ray": "^1.18.0"
}
}