UNPKG

2.81 kBJSONView Raw
1{
2 "name": "clean-webpack-plugin",
3 "version": "3.0.0",
4 "author": "John Agan <johnagan@gmail.com>",
5 "description": "A webpack plugin to remove/clean your build folder(s).",
6 "homepage": "https://github.com/johnagan/clean-webpack-plugin",
7 "license": "MIT",
8 "main": "dist/clean-webpack-plugin.js",
9 "types": "dist/clean-webpack-plugin.d.ts",
10 "files": [
11 "dist/"
12 ],
13 "engines": {
14 "node": ">=8.9.0"
15 },
16 "keywords": [
17 "webpack",
18 "plugin",
19 "clean",
20 "node"
21 ],
22 "repository": {
23 "type": "git",
24 "url": "https://github.com/johnagan/clean-webpack-plugin.git"
25 },
26 "bugs": {
27 "url": "https://github.com/johnagan/clean-webpack-plugin/issues"
28 },
29 "scripts": {
30 "clean": "del-cli --dot=true \"./dist/**/*\"",
31 "build": "npm run clean && npm run build.compile && npm run build.types",
32 "build.compile": "cross-env NODE_ENV=production babel src -d dist --verbose --extensions .ts --ignore */**/*.d.ts,**/**/*.test.ts --source-maps",
33 "build.types": "cross-env NODE_ENV=production tsc --project tsconfig.types.json",
34 "dev": "npm run clean && cross-env NODE_ENV=development babel -w src -d dist --verbose --extensions .ts --ignore */**/*.d.ts,**/**/*.test.ts --source-maps",
35 "lint": "eslint --ext .js,.ts .",
36 "lint.fix": "eslint --ext .js,.ts --fix .",
37 "format": "prettier \"**/*.{js,mjs,jsx,ts,tsx,json,scss,less,css,md,yml,yaml}\" --write",
38 "test": "jest",
39 "test.update": "jest --update-snapshot",
40 "test.watch": "jest --watch",
41 "test.all": "node ./dev-utils/test-supported-webpack-versions.js",
42 "test.ci": "npm run build && npm run lint && npm run typescript && npm run test.all -- --ci",
43 "typescript": "tsc",
44 "git-pre-commit": "lint-staged",
45 "git-pre-push": "npm run lint && npm run typescript && npm run test.all",
46 "prepublishOnly": "npm run build && npm run lint && npm run typescript && npm run test.all",
47 "release": "np"
48 },
49 "peerDependencies": {
50 "webpack": "*"
51 },
52 "devDependencies": {
53 "@babel/cli": "^7.4.4",
54 "@babel/core": "^7.4.4",
55 "@babel/preset-env": "^7.4.4",
56 "@babel/preset-typescript": "^7.3.3",
57 "@chrisblossom/eslint-config": "^5.0.0",
58 "@types/jest": "^24.0.13",
59 "@types/node": "^12.0.2",
60 "@types/read-pkg-up": "^3.0.1",
61 "babel-jest": "^24.8.0",
62 "codecov": "^3.5.0",
63 "cross-env": "^5.2.0",
64 "del-cli": "^1.1.0",
65 "eslint": "^5.16.0",
66 "execa": "^1.0.0",
67 "husky": "^2.3.0",
68 "jest": "^24.8.0",
69 "lint-staged": "^8.1.7",
70 "listr": "^0.14.3",
71 "np": "^5.0.2",
72 "prettier": "^1.17.1",
73 "read-pkg-up": "^6.0.0",
74 "semver": "^6.0.0",
75 "temp-sandbox": "^3.0.0",
76 "typescript": "^3.4.5",
77 "webpack": "^4.32.0"
78 },
79 "dependencies": {
80 "@types/webpack": "^4.4.31",
81 "del": "^4.1.1"
82 }
83}