-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
60 lines (60 loc) · 1.85 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
{
"name": "typescript-lib-starter",
"version": "0.0.1",
"description": "Put here a description.",
"main": "./dist",
"types": "./dist",
"author": "Maksim Sinik <[email protected]>",
"license": "MIT",
"scripts": {
"prebuild": "npm run lint && npm run clean-build",
"build": "tsc",
"clean-build": "rimraf ./dist && mkdir dist",
"update": "npx npm-check -u",
"prettier": "prettier --loglevel warn --write \"src/**/*.{ts,tsx}\" \"test/**/*.ts\"",
"prelint": "npm run prettier",
"lint": "eslint --fix --ext .ts --no-error-on-unmatched-pattern \"src/**/*.ts\" \"test/**/*.ts\"",
"prepublishOnly": "npm run build",
"test": "tap test/**/*.ts",
"test:watch": "chokidar \"src/**/*.ts\" \"test/**/*.ts\" -c \"npm run test\" --initial",
"test:report": "npm run test | tee out.tap",
"test:reporter": "tap-mocha-reporter xunit < out.tap > junit-testresults.xml"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fox1t/typescript-lib-starter.git"
},
"keywords": [],
"bugs": {
"url": "https://github.com/fox1t/typescript-lib-starter/issues"
},
"homepage": "https://github.com/fox1t/typescript-lib-starter#readme",
"devDependencies": {
"@types/node": "^14.14.31",
"@types/tap": "^14.10.2",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"chokidar-cli": "^2.1.0",
"eslint": "^7.20.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"fox1t-tsconfig": "^0.2.0",
"husky": "^5.1.1",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"tap": "^14.11.0",
"tap-mocha-reporter": "^5.0.1",
"ts-node": "^9.1.1",
"typescript": "^4.2.2"
},
"files": [
"/dist",
"/typings"
],
"husky": {
"hooks": {
"pre-commit": "npm run test && npm run build"
}
},
"dependencies": {}
}