forked from wuct/elastic-apm-sourcemap-webpack-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
153 lines (153 loc) · 4 KB
/
package.json
File metadata and controls
153 lines (153 loc) · 4 KB
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "elastic-apm-sourcemap-webpack-plugin",
"version": "1.6.2",
"description": "ElasticAPMSourceMapPlugin is a Webpack plugin that uploads sourcemaps generated by Webpack to a Elastic APM server.",
"keywords": [
"elastic",
"elasticapm",
"apm",
"webpack",
"sourcemap"
],
"main": "dist/elastic-apm-sourcemap-webpack-plugin.js",
"typings": "dist/types/elastic-apm-sourcemap-webpack-plugin.d.ts",
"files": [
"dist"
],
"author": "wuct <wu.chingting@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/wuct/elastic-apm-sourcemap-webpack-plugin"
},
"license": "MIT",
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"lint": "eslint --ext .js,.ts ./",
"prebuild": "rimraf dist",
"build": "npm run build:types && npm run build:js",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "babel src --out-dir dist --extensions .ts --source-maps inline",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"report-coverage": "cat ./coverage/lcov.info | codecov",
"commit": "git-cz",
"semantic-release": "semantic-release"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"git add"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"jest": {
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 65,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"src/*.{js,ts}"
]
},
"prettier": {
"singleQuote": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"package.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
},
"dependencies": {
"form-data": "^3.0.0",
"node-fetch": "^2.6.0",
"ramda": "^0.27.0"
},
"devDependencies": {
"@babel/cli": "7.14.5",
"@babel/core": "7.14.6",
"@babel/node": "7.14.5",
"@babel/preset-env": "7.14.5",
"@babel/preset-typescript": "7.14.5",
"@commitlint/cli": "12.1.4",
"@commitlint/config-conventional": "12.1.4",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/commit-analyzer": "8.0.1",
"@semantic-release/git": "9.0.0",
"@semantic-release/npm": "7.1.1",
"@semantic-release/release-notes-generator": "9.0.2",
"@types/form-data": "2.5.0",
"@types/jest": "26.0.23",
"@types/node-fetch": "2.5.10",
"@types/ramda": "0.27.40",
"@types/webpack": "5.28.0",
"@typescript-eslint/eslint-plugin": "4.27.0",
"@typescript-eslint/parser": "4.27.0",
"babel-jest": "27.0.2",
"codecov": "3.8.2",
"commitizen": "4.2.4",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.28.0",
"husky": "6.0.0",
"jest": "27.0.4",
"jest-config": "27.0.4",
"jest-fetch-mock": "2.1.2",
"lint-staged": "11.0.0",
"prettier": "2.3.1",
"rimraf": "3.0.2",
"semantic-release": "17.4.2",
"typescript": "4.3.2",
"webpack": "5.39.0",
"webpack-log": "3.0.2"
},
"peerDependencies": {
"webpack": ">= 3.0.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged",
"pre-push": "npm run test:prod && npm run build"
}
}
}