1 | {
|
2 | "name": "@webpack-contrib/defaults",
|
3 | "version": "3.0.2",
|
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 | "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
|
23 | "clean": "del-cli dist",
|
24 | "commitlint": "commitlint",
|
25 | "commitmsg": "commitlint -e $GIT_PARAMS",
|
26 | "lint": "eslint --cache bin lib src",
|
27 | "prebuild": "npm run clean",
|
28 | "prepublish": "npm run build",
|
29 | "release": "standard-version",
|
30 | "security": "npm audit",
|
31 | "test": "jest",
|
32 | "test:watch": "jest --watch",
|
33 | "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
|
34 | "ci:lint": "npm run lint && npm run security",
|
35 | "ci:test": "npm run test -- --runInBand",
|
36 | "ci:coverage": "npm run test:coverage -- --runInBand",
|
37 | "ci:lint:commits": "commitlint --from=origin/master --to=${CIRCLE_SHA1}",
|
38 | "defaults": "./bin/index.js"
|
39 | },
|
40 | "files": [
|
41 | "bin",
|
42 | "dist",
|
43 | "lib",
|
44 | "src",
|
45 | "templates",
|
46 | "config.json"
|
47 | ],
|
48 | "peerDependencies": {
|
49 | "webpack": "^4.3.0"
|
50 | },
|
51 | "dependencies": {
|
52 | "chalk": "^2.3.0",
|
53 | "git-username": "^1.0.0",
|
54 | "mrm-core": "^3.1.1",
|
55 | "path-exists": "^3.0.0",
|
56 | "user-meta": "^1.0.0"
|
57 | },
|
58 | "devDependencies": {
|
59 | "@babel/cli": "^7.2.0",
|
60 | "@babel/core": "^7.2.0",
|
61 | "@babel/polyfill": "^7.0.0",
|
62 | "@babel/preset-env": "^7.2.0",
|
63 | "@commitlint/cli": "^7.2.1",
|
64 | "@commitlint/config-conventional": "^7.1.2",
|
65 | "@webpack-contrib/defaults": "^2.6.0",
|
66 | "@webpack-contrib/eslint-config-webpack": "^3.0.0",
|
67 | "babel-core": "^7.0.0-bridge.0",
|
68 | "babel-jest": "^23.0.1",
|
69 | "cross-env": "^5.1.1",
|
70 | "del-cli": "^1.1.0",
|
71 | "eslint": "^5.10.0",
|
72 | "eslint-plugin-import": "^2.8.0",
|
73 | "eslint-plugin-prettier": "^3.0.0",
|
74 | "husky": "^1.2.0",
|
75 | "jest": "^23.0.1",
|
76 | "lint-staged": "^8.1.0",
|
77 | "pre-commit": "^1.2.2",
|
78 | "prettier": "^1.9.2",
|
79 | "standard-version": "^4.2.0",
|
80 | "webpack": "^4.27.1"
|
81 | },
|
82 | "keywords": [
|
83 | "webpack"
|
84 | ],
|
85 | "babel": {
|
86 | "presets": [
|
87 | [
|
88 | "@babel/preset-env",
|
89 | {
|
90 | "targets": {
|
91 | "node": "6.9.0"
|
92 | },
|
93 | "useBuiltIns": "usage"
|
94 | }
|
95 | ]
|
96 | ]
|
97 | },
|
98 | "husky": {
|
99 | "hooks": {
|
100 | "pre-commit": "lint-staged"
|
101 | }
|
102 | },
|
103 | "lint-staged": {
|
104 | "*.js": [
|
105 | "eslint --fix",
|
106 | "git add"
|
107 | ]
|
108 | },
|
109 | "commitlint": {
|
110 | "extends": [
|
111 | "@commitlint/config-conventional"
|
112 | ]
|
113 | }
|
114 | }
|