-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
77 lines (77 loc) · 2.54 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
{
"name": "rollup-plugin-generate-html-template",
"version": "1.7.0",
"description": "Rollup plugin for automatically injecting a script tag with the final bundle into an html file.",
"main": "dist/rollup-plugin-generate-html-template.js",
"module": "dist/rollup-plugin-generate-html-template.module.js",
"jsnext:main": "dist/rollup-plugin-generate-html-template.module.js",
"files": ["dist", "src", "README.md"],
"scripts": {
"coverage": "lcov-badge-generator -o ./coverage/coverage.svg ./coverage/lcov.info",
"test": "yarn lint:fix && jest",
"pretest": "yarn build",
"posttest": "yarn coverage",
"build": "yarn build:cjs && yarn build:module",
"build:cjs": "rollup -c -o ./dist/rollup-plugin-generate-html-template.js -f cjs",
"build:module": "rollup -c -o ./dist/rollup-plugin-generate-html-template.module.js -f es",
"prebuild": "rimraf dist/*",
"prepublishOnly": "yarn build",
"format": "prettier --write '{rollup,jest}.config.js' '.{babel,eslint,prettier}rc' 'package.json' './{src,__tests__}**/*.js'",
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"lint-staged": "lint-staged"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bengsfort/rollup-plugin-generate-html-template"
},
"keywords": [
"rollup-plugin",
"bundle",
"injection",
"rollup",
"modules",
"html",
"template"
],
"author": "Matt Bengston <[email protected]> (https://bengsfort.github.io)",
"license": "MIT",
"bugs": {
"url": "https://github.com/bengsfort/rollup-plugin-generate-html-template/issues"
},
"homepage": "https://github.com/bengsfort/rollup-plugin-generate-html-template#readme",
"dependencies": {
"fs-extra": "^7.0.1"
},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/register": "^7.4.0",
"babel-jest": "^24.8.0",
"eslint": "^5.16.0",
"eslint-plugin-jest": "^22.5.1",
"husky": "^2.3.0",
"jest": "^24.8.0",
"lcov-badge-generator": "^1.0.5",
"lint-staged": "^8.1.7",
"prettier": "^1.17.1",
"rimraf": "^2.6.3",
"rollup": "^1.9.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-node-resolve": "^5.0.0",
"rollup-plugin-postcss": "^3.1.2"
},
"peerDependencies": {
"rollup": ">=1.1.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": ["prettier --write", "yarn lint:fix", "git add"],
"*.json": ["prettier --write", "git add"]
}
}