1 | {
|
2 | "name": "@webpack-contrib/defaults",
|
3 | "version": "3.1.1",
|
4 | "description": "Project configuration and boilerplate defaults for webpack projects",
|
5 | "license": "MIT",
|
6 | "repository": "webpack-contrib/webpack-defaults",
|
7 | "author": {
|
8 | "name": "Artem Sapegin",
|
9 | "url": "https://sapegin.me"
|
10 | },
|
11 | "homepage": "https://github.com/webpack-contrib/webpack-defaults",
|
12 | "bugs": "https://github.com/webpack-contrib/webpack-defaults/issues",
|
13 | "bin": {
|
14 | "webpack-defaults": "bin/index.js"
|
15 | },
|
16 | "main": "dist/cjs.js",
|
17 | "engines": {
|
18 | "node": ">= 6.9.0"
|
19 | },
|
20 | "scripts": {
|
21 | "start": "npm run build -- -w",
|
22 | "prebuild": "npm run clean",
|
23 | "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
|
24 | "clean": "del-cli dist",
|
25 | "commitlint": "commitlint --from=master",
|
26 | "lint": "eslint --cache src test",
|
27 | "prepublish": "npm run build",
|
28 | "release": "standard-version",
|
29 | "security": "npm audit",
|
30 | "test:only": "jest",
|
31 | "test:watch": "jest --watch",
|
32 | "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
|
33 | "pretest": "npm run lint",
|
34 | "test": "npm run test:only",
|
35 | "ci:lint": "npm run lint && npm run security",
|
36 | "ci:test": "npm run test:only -- --runInBand",
|
37 | "ci:coverage": "npm run test:coverage -- --runInBand",
|
38 | "ci:lint:commits": "commitlint --from=origin/master --to=${CIRCLE_SHA1}",
|
39 | "defaults": "webpack-defaults"
|
40 | },
|
41 | "files": [
|
42 | "bin",
|
43 | "dist",
|
44 | "lib",
|
45 | "src",
|
46 | "templates",
|
47 | "config.json"
|
48 | ],
|
49 | "peerDependencies": {
|
50 | "webpack": "^4.3.0"
|
51 | },
|
52 | "dependencies": {
|
53 | "chalk": "^2.3.0",
|
54 | "git-username": "^1.0.0",
|
55 | "mrm-core": "^3.1.1",
|
56 | "path-exists": "^3.0.0",
|
57 | "user-meta": "^1.0.0"
|
58 | },
|
59 | "devDependencies": {
|
60 | "@babel/cli": "^7.2.0",
|
61 | "@babel/core": "^7.2.0",
|
62 | "@babel/polyfill": "^7.0.0",
|
63 | "@babel/preset-env": "^7.2.0",
|
64 | "@commitlint/cli": "^7.2.1",
|
65 | "@commitlint/config-conventional": "^7.1.2",
|
66 | "@webpack-contrib/defaults": "^3.0.5",
|
67 | "@webpack-contrib/eslint-config-webpack": "^3.0.0",
|
68 | "babel-jest": "^24.5.0",
|
69 | "cross-env": "^5.1.1",
|
70 | "del": "^4.0.0",
|
71 | "del-cli": "^1.1.0",
|
72 | "eslint": "^5.10.0",
|
73 | "eslint-plugin-import": "^2.8.0",
|
74 | "eslint-plugin-prettier": "^3.0.0",
|
75 | "husky": "^1.2.0",
|
76 | "jest": "^24.5.0",
|
77 | "lint-staged": "^8.1.0",
|
78 | "memory-fs": "^0.4.1",
|
79 | "pre-commit": "^1.2.2",
|
80 | "prettier": "^1.9.2",
|
81 | "standard-version": "^5.0.2",
|
82 | "webpack": "^4.29.6"
|
83 | },
|
84 | "keywords": [
|
85 | "webpack"
|
86 | ],
|
87 | "babel": {
|
88 | "presets": [
|
89 | [
|
90 | "@babel/preset-env",
|
91 | {
|
92 | "targets": {
|
93 | "node": "6.9.0"
|
94 | },
|
95 | "useBuiltIns": "usage"
|
96 | }
|
97 | ]
|
98 | ]
|
99 | },
|
100 | "husky": {
|
101 | "hooks": {
|
102 | "pre-commit": "lint-staged",
|
103 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
104 | }
|
105 | },
|
106 | "lint-staged": {
|
107 | "*.js": [
|
108 | "eslint --fix",
|
109 | "git add"
|
110 | ]
|
111 | },
|
112 | "commitlint": {
|
113 | "extends": [
|
114 | "@commitlint/config-conventional"
|
115 | ]
|
116 | },
|
117 | "prettier": {
|
118 | "singleQuote": true,
|
119 | "trailingComma": "es5",
|
120 | "arrowParens": "always"
|
121 | }
|
122 | }
|