84 lines
2.7 KiB
JSON
84 lines
2.7 KiB
JSON
{
|
|
"name": "clean-webpack-plugin",
|
|
"version": "3.0.0",
|
|
"author": "John Agan <johnagan@gmail.com>",
|
|
"description": "A webpack plugin to remove/clean your build folder(s).",
|
|
"homepage": "https://github.com/johnagan/clean-webpack-plugin",
|
|
"license": "MIT",
|
|
"main": "dist/clean-webpack-plugin.js",
|
|
"types": "dist/clean-webpack-plugin.d.ts",
|
|
"files": [
|
|
"dist/"
|
|
],
|
|
"engines": {
|
|
"node": ">=8.9.0"
|
|
},
|
|
"keywords": [
|
|
"webpack",
|
|
"plugin",
|
|
"clean",
|
|
"node"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/johnagan/clean-webpack-plugin.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/johnagan/clean-webpack-plugin/issues"
|
|
},
|
|
"scripts": {
|
|
"clean": "del-cli --dot=true \"./dist/**/*\"",
|
|
"build": "npm run clean && npm run build.compile && npm run build.types",
|
|
"build.compile": "cross-env NODE_ENV=production babel src -d dist --verbose --extensions .ts --ignore */**/*.d.ts,**/**/*.test.ts --source-maps",
|
|
"build.types": "cross-env NODE_ENV=production tsc --project tsconfig.types.json",
|
|
"dev": "npm run clean && cross-env NODE_ENV=development babel -w src -d dist --verbose --extensions .ts --ignore */**/*.d.ts,**/**/*.test.ts --source-maps",
|
|
"lint": "eslint --ext .js,.ts .",
|
|
"lint.fix": "eslint --ext .js,.ts --fix .",
|
|
"format": "prettier \"**/*.{js,mjs,jsx,ts,tsx,json,scss,less,css,md,yml,yaml}\" --write",
|
|
"test": "jest",
|
|
"test.update": "jest --update-snapshot",
|
|
"test.watch": "jest --watch",
|
|
"test.all": "node ./dev-utils/test-supported-webpack-versions.js",
|
|
"test.ci": "npm run build && npm run lint && npm run typescript && npm run test.all -- --ci",
|
|
"typescript": "tsc",
|
|
"git-pre-commit": "lint-staged",
|
|
"git-pre-push": "npm run lint && npm run typescript && npm run test.all",
|
|
"prepublishOnly": "npm run build && npm run lint && npm run typescript && npm run test.all",
|
|
"release": "np"
|
|
},
|
|
"peerDependencies": {
|
|
"webpack": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.4.4",
|
|
"@babel/core": "^7.4.4",
|
|
"@babel/preset-env": "^7.4.4",
|
|
"@babel/preset-typescript": "^7.3.3",
|
|
"@chrisblossom/eslint-config": "^5.0.0",
|
|
"@types/jest": "^24.0.13",
|
|
"@types/node": "^12.0.2",
|
|
"@types/read-pkg-up": "^3.0.1",
|
|
"babel-jest": "^24.8.0",
|
|
"codecov": "^3.5.0",
|
|
"cross-env": "^5.2.0",
|
|
"del-cli": "^1.1.0",
|
|
"eslint": "^5.16.0",
|
|
"execa": "^1.0.0",
|
|
"husky": "^2.3.0",
|
|
"jest": "^24.8.0",
|
|
"lint-staged": "^8.1.7",
|
|
"listr": "^0.14.3",
|
|
"np": "^5.0.2",
|
|
"prettier": "^1.17.1",
|
|
"read-pkg-up": "^6.0.0",
|
|
"semver": "^6.0.0",
|
|
"temp-sandbox": "^3.0.0",
|
|
"typescript": "^3.4.5",
|
|
"webpack": "^4.32.0"
|
|
},
|
|
"dependencies": {
|
|
"@types/webpack": "^4.4.31",
|
|
"del": "^4.1.1"
|
|
}
|
|
}
|