UNPKG

1.43 kBJSONView Raw
1{
2 "name": "rollup-plugin-bundle-inject",
3 "version": "1.0.3",
4 "description": "Inject JS or CSS bundle into a template where necessary",
5 "main": "dist/index.js",
6 "files": [
7 "README.md",
8 "package.json",
9 "dist/"
10 ],
11 "scripts": {
12 "start": "tsc --watch",
13 "build": "sh bin/build.sh",
14 "test": "mocha \"**/*.test.ts\" --colors --config ./.mocharc.js",
15 "test:watch": "npm run test -- --watch",
16 "prettier": "prettier --write .",
17 "prettier:watch": "onchange \"./**/*\" -- prettier --write --ignore-unknown {{changed}}"
18 },
19 "keywords": [
20 "rollup",
21 "rollup plugin",
22 "rollup inject",
23 "rollup bundle",
24 "bundle inject"
25 ],
26 "author": "Jacket Chen <342115615@qq.com>",
27 "license": "ISC",
28 "dependencies": {
29 "html-minifier": "^4.0.0"
30 },
31 "devDependencies": {
32 "@types/chai": "^4.2.12",
33 "@types/html-minifier": "^4.0.1",
34 "@types/mocha": "^8.0.3",
35 "@types/node": "^14.11.2",
36 "chai": "^4.2.0",
37 "mocha": "^8.1.3",
38 "onchange": "^7.0.2",
39 "prettier": "^2.1.2",
40 "rollup": "^2.28.2",
41 "rollup-plugin-postcss": "^3.1.8",
42 "ts-node": "^9.0.0",
43 "tslib": "^2.0.1",
44 "typescript": "^4.0.3",
45 "uglify-js": "^3.11.1"
46 },
47 "repository": {
48 "type": "git",
49 "url": "git@github.com:chenjuneking/rollup-plugin-bundle-inject.git"
50 },
51 "bugs": {
52 "url": "https://github.com/chenjuneking/rollup-plugin-bundle-inject/issues"
53 }
54}