-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
63 lines (63 loc) · 2.06 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
{
"name": "tsdef",
"version": "0.0.14",
"description": "TypeScript common pattern shortcut definitions / utility gist library",
"keywords": [
"TypeScript",
"common",
"patterns",
"shortcuts",
"snippets",
"definitions",
"utility",
"gist",
"library"
],
"author": "Joon Ho Cho",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/joonhocho/tsdef.git"
},
"bugs": {
"url": "https://github.com/joonhocho/tsdef/issues"
},
"homepage": "https://github.com/joonhocho/tsdef#readme",
"module": "lib/index.js",
"main": "dist/node/index.js",
"types": "lib/index.d.ts",
"sideEffects": false,
"scripts": {
"all": "npm run clean && npm run format && npm run lint:fix && npm run build:all && npm run test",
"build:all": "npm run build:module && npm run build:node",
"build:module": "tsc -p ./tsconfig.module.json && tscpaths -p ./tsconfig.module.json -s ./src -o ./lib",
"build:node": "tsc -p ./tsconfig.node.json && tscpaths -p ./tsconfig.node.json -s ./src -o ./dist/node",
"clean": "rm -rf ./lib ./dist ./coverage",
"format": "prettier --write \"./*.{js,jsx,ts,tsx}\" \"./src/**/*.{js,jsx,ts,tsx}\"",
"lint": "tslint -c ./tslint.json \"src/**/*.ts\"",
"lint:fix": "tslint --fix -c ./tslint.json \"src/**/*.ts\"",
"precommit": "npm run all",
"prepublishOnly": "npm run all",
"reinstall": "rm -rf ./node_modules ./package-lock.json ./yarn.lock && yarn",
"start": "npm run test",
"test": "jest",
"test:coverage": "jest --coverage",
"test:coverage:report": "jest --coverage && cat ./coverage/lcov.info | coveralls",
"test:watch": "jest --watch"
},
"pre-commit": "precommit",
"devDependencies": {
"@types/jest": "^26.0.8",
"@types/node": "^14.0.27",
"coveralls": "^3.1.0",
"jest": "^26.2.2",
"pre-commit": "^1.2.2",
"prettier": "^2.0.5",
"ts-jest": "^26.1.4",
"tscpaths": "^0.0.9",
"tslint": "^6.1.3",
"tslint-config-airbnb": "^5.11.2",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.9.7"
}
}