@webpack-contrib/defaults
Version:
Project configuration and boilerplate defaults for webpack projects
115 lines (114 loc) • 2.96 kB
JSON
{
"name": "@webpack-contrib/defaults",
"version": "3.0.0",
"description": "Project configuration and boilerplate defaults for webpack projects",
"license": "MIT",
"repository": "webpack-contrib/webpack-defaults",
"author": {
"name": "Artem Sapegin",
"url": "https://sapegin.me"
},
"homepage": "https://github.com/webpack-contrib/webpack-defaults",
"bugs": "https://github.com/webpack-contrib/webpack-defaults/issues",
"bin": {
"webpack-defaults": "bin/index.js"
},
"main": "dist/cjs.js",
"engines": {
"node": ">= 6.9.0 <7.0.0 || >= 8.9.0"
},
"scripts": {
"start": "npm run build -- -w",
"build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
"clean": "del-cli dist",
"commitlint": "commitlint",
"commitmsg": "commitlint -e $GIT_PARAMS",
"lint": "eslint --cache bin lib src",
"prebuild": "npm run clean",
"prepublish": "npm run build",
"release": "standard-version",
"security": "npm audit",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
"ci:lint": "npm run lint && npm run security",
"ci:test": "npm run test -- --runInBand",
"ci:coverage": "npm run test:coverage -- --runInBand",
"ci:lint:commits": "commitlint --from=origin/master --to=${CIRCLE_SHA1}",
"defaults": "./bin/index.js"
},
"files": [
"bin",
"dist",
"lib",
"src",
"templates",
"config.json"
],
"peerDependencies": {
"webpack": "^4.3.0"
},
"dependencies": {
"chalk": "^2.3.0",
"git-username": "^1.0.0",
"mrm-core": "^3.1.1",
"path-exists": "^3.0.0",
"user-meta": "^1.0.0"
},
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.2.0",
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@webpack-contrib/defaults": "^2.6.0",
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.0.1",
"cross-env": "^5.1.1",
"del-cli": "^1.1.0",
"eslint": "^5.10.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-prettier": "^3.0.0",
"husky": "^1.2.0",
"jest": "^23.0.1",
"lint-staged": "^8.1.0",
"pre-commit": "^1.2.2",
"prettier": "^1.9.2",
"standard-version": "^4.2.0",
"webpack": "^4.27.1"
},
"keywords": [
"webpack"
],
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "6.9.0"
},
"useBuiltIns": "usage"
}
]
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}