UNPKG

rollup-plugin-copy-assets

Version:

Copy additional assets into the output directory of your rollup bundle.

85 lines (84 loc) 2.41 kB
{ "name": "rollup-plugin-copy-assets", "version": "2.0.3", "description": "Copy additional assets into the output directory of your rollup bundle.", "main": "dist/rollup-plugin-copy-assets.js", "module": "dist/rollup-plugin-copy-assets.module.js", "jsnext:main": "dist/rollup-plugin-copy-assets.module.js", "files": [ "dist", "src", "README.md" ], "scripts": { "coverage": "lcov-badge-generator -o ./coverage/coverage.svg ./coverage/lcov.info", "test": "yarn lint && jest", "posttest": "yarn coverage", "build": "yarn build:cjs && yarn build:module", "build:cjs": "rollup -c -o ./dist/rollup-plugin-copy-assets.js -f cjs", "build:module": "rollup -c -o ./dist/rollup-plugin-copy-assets.module.js -f es", "prebuild": "rimraf dist/*", "format": "prettier --write 'rollup.config.js' '.{babel,eslint,prettier}rc' 'package.json' './{src,test}**/*.js'", "lint": "eslint ./src", "lint:fix": "eslint ./src --fix", "lint-staged": "lint-staged", "prepublishOnly": "yarn build" }, "repository": { "type": "git", "url": "git+https://github.com/bengsfort/rollup-plugin-copy-assets" }, "keywords": [ "rollup-plugin", "bundle", "copy", "rollup", "assets" ], "author": "Matt Bengston <bengston.matthew@gmail.com> (https://bengsfort.github.io)", "license": "MIT", "bugs": { "url": "https://github.com/bengsfort/rollup-plugin-copy-assets/issues" }, "homepage": "https://github.com/bengsfort/rollup-plugin-copy-assets#readme", "devDependencies": { "@babel/core": "^7.4.3", "@babel/preset-env": "^7.4.3", "@babel/register": "^7.4.0", "babel-jest": "^24.7.1", "eslint": "^5.16.0", "eslint-plugin-jest": "^22.5.1", "growl": "^1.10.5", "husky": "^1.3.1", "jest": "^24.7.1", "lcov-badge-generator": "^1.0.5", "lint-staged": "^8.1.5", "prettier": "^1.16.4", "rollup": "^1.9.0", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-commonjs": "^9.3.4", "rollup-plugin-node-resolve": "^4.2.1" }, "peerDependencies": { "rollup": ">=1.1.2" }, "dependencies": { "fs-extra": "^7.0.1" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.js": [ "prettier --write", "yarn lint", "git add" ], "*.json": [ "prettier --write", "git add" ] } }