-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
81 lines (81 loc) · 2.31 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
{
"name": "webpack-inject-plugin",
"version": "1.5.5",
"description": "A webpack plugin to dynamically inject code into the bundle.",
"main": "dist/main.js",
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"lint": "eslint ./src --ext .js,.ts",
"test": "jest",
"test:example": "cd example && webpack && npm run test:example:first && npm run test:example:second",
"test:example:first": "cd example && cat dist/main.js | grep \"console.log('hello world')\"",
"test:example:second": "cd example && cat dist/main.js | grep \"console.log('second injected code')\"",
"test:watch": "npm run test -- --watch",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"release": "auto shipit -v"
},
"repository": {
"type": "git",
"url": "git+https://github.com/adierkens/webpack-inject-plugin.git"
},
"keywords": [
"webpack",
"plugin",
"loader",
"inject"
],
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"author": "Adam Dierkens <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/adierkens/webpack-inject-plugin/issues"
},
"homepage": "https://github.com/adierkens/webpack-inject-plugin#readme",
"peerDependencies": {
"webpack": ">=4.0.0"
},
"dependencies": {
"loader-utils": "~1.2.3"
},
"devDependencies": {
"@types/jest": "^23.3.5",
"@types/loader-utils": "^1.1.3",
"@types/webpack": "^4.4.17",
"@typescript-eslint/parser": "2.2.0",
"@typescript-eslint/eslint-plugin": "^2.5.0",
"all-contributors-cli": "^5.4.0",
"auto": "^4.8.14",
"husky": "^1.1.2",
"jest": "^24.7.1",
"lint-staged": "^7.3.0",
"prettier": "^1.14.3",
"ts-jest": "^23.10.4",
"eslint": "6.3.0",
"eslint-config-prettier": "6.2.0",
"eslint-plugin-no-explicit-type-exports": "0.10.10",
"eslint-plugin-prettier": "^3.1.1",
"eslint-config-xo": "0.26.0",
"tsutils": "~3.1.0",
"typescript": "~3.1.3",
"webpack": "~4.21.0",
"webpack-cli": "~3.1.2"
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write",
"git add"
],
"*.{ts,tsx}": [
"prettier --parser typescript --write",
"npm run lint",
"git add"
]
},
"prettier": {
"singleQuote": true
}
}