src/generators/app/templates/_package.json
{
"name": "<%= pluginName %>",
"version": "0.1.0",
"description": "<%= pluginDescription %>",
"keywords": [
"postcss",
"postcss-plugin",
"css"
],
"author": "<%= author %>",
"repository": "<%= author %>/<%= pluginName %>",
"bugs": {
"url": "https://github.com/<%= author %>/<%= pluginName %>/issues"
},
"homepage": "https://github.com/<%= author %>/<%= pluginName %>",
"main": "lib/index.js",
"files": [
"lib",
"!test"
],
"dependencies": {
"postcss": "^6.0.10"
},
"devDependencies": {
"babel-cli": "^6.14.0",
"babel-jest": "^21.0.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-env": "^1.6.0",
"babel-register": "^6.14.0",
"coveralls": "^2.11.15",
"eslint": "^4.6.1",
"eslint-config-postcss": "^2.0.2",
"jest-cli": "^21.0.1",
"npm-run-all": "^4.1.1",
"postcss-test-fixtures": "^1.0.0",
"rimraf": "^2.5.4"
},
"scripts": {
"prebuild": "rimraf lib",
"build": "babel src --out-dir lib",
"coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"lint": "eslint src/**/*.js",
"release:patch": "npm test && npm run build && npm version patch",
"release:minor": "npm test && npm run build && npm version minor",
"release:major": "npm test && npm run build && npm version major",
"release:quick": "npm test && npm run build && git add -A && git commit -m 'Quick release patch' && npm version patch",
"postversion": "git push && git push --tags && npm publish --access public",
"pretest": "rimraf coverage",
"test": "npm run lint && npm run build && jest --coverage"
}
}