-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 2.19 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "@untemps/jsend-wrapper",
"version": "1.2.0",
"description": "Class to wrap an HTTP response in a JSend Specification format",
"repository": "[email protected]:untemps/jsend-wrapper.git",
"keywords": [
"jsend",
"rest",
"api",
"format",
"typescript",
"javascript"
],
"author": "Vincent Le Badezet <[email protected]>",
"license": "MIT",
"private": false,
"publishConfig": {
"access": "public"
},
"main": "dist/index.js",
"module": "dist/index.es.js",
"types": "dist/types/index.d.ts",
"files": [
"dist"
],
"devDependencies": {
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.0.7",
"@testing-library/jest-dom": "^5.11.10",
"@types/jest": "^26.0.22",
"@wessberg/rollup-plugin-ts": "^1.3.11",
"cross-env": "^7.0.2",
"husky": "^4.2.5",
"jest": "^26.0.1",
"prettier": "^2.0.5",
"rollup": "^2.12.0",
"rollup-plugin-filesize": "^9.0.0",
"rollup-plugin-terser": "^6.1.0",
"rollup-plugin-visualizer": "^4.0.4",
"semantic-release": "^17.0.7",
"ts-jest": "^26.5.4",
"tslib": "^2.1.0",
"typedoc": "^0.20.35",
"typescript": "^4.2.3"
},
"husky": {
"hooks": {
"pre-commit": "yarn test:ci && yarn prettier"
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"coverageDirectory": "<rootDir>/coverage/",
"collectCoverage": true,
"restoreMocks": true,
"testPathIgnorePatterns": [
"<rootDir>/dist"
]
},
"release": {
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "chore",
"scope": "bundle",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
},
"scripts": {
"dev": "cd dev && yarn && yarn start",
"test": "jest -u --watchAll",
"test:ci": "CI=true jest -u -b --coverage",
"prebuild": "rimraf dist",
"build": "cross-env NODE_ENV=production rollup -c",
"postbuild": "yarn typedoc",
"prettier": "prettier \"*/**/*.js\" --ignore-path ./.prettierignore --write",
"typedoc": "typedoc"
}
}