1 | {
|
2 | "name": "null-loader",
|
3 | "version": "1.0.0",
|
4 | "description": "A webpack loader that returns an empty module.",
|
5 | "license": "MIT",
|
6 | "repository": "webpack-contrib/null-loader",
|
7 | "author": "Tobias Koppers @sokra",
|
8 | "homepage": "https://github.com/webpack-contrib/null-loader",
|
9 | "bugs": "https://github.com/webpack-contrib/null-loader/issues",
|
10 | "main": "dist/cjs.js",
|
11 | "engines": {
|
12 | "node": ">= 6.9.0"
|
13 | },
|
14 | "scripts": {
|
15 | "start": "npm run build -- -w",
|
16 | "prebuild": "npm run clean",
|
17 | "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
|
18 | "clean": "del-cli dist",
|
19 | "commitlint": "commitlint --from=master",
|
20 | "lint": "eslint --cache src test",
|
21 | "prepare": "npm run build",
|
22 | "release": "standard-version",
|
23 | "security": "npm audit",
|
24 | "test:only": "jest",
|
25 | "test:watch": "jest --watch",
|
26 | "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
|
27 | "pretest": "npm run lint",
|
28 | "test": "npm run test:only",
|
29 | "ci:lint": "npm run lint && npm run security",
|
30 | "ci:test": "npm run test:only -- --runInBand",
|
31 | "ci:coverage": "npm run test:coverage -- --runInBand",
|
32 | "ci:lint:commits": "commitlint --from=origin/master --to=${CIRCLE_SHA1}",
|
33 | "defaults": "webpack-defaults"
|
34 | },
|
35 | "files": [
|
36 | "dist"
|
37 | ],
|
38 | "peerDependencies": {
|
39 | "webpack": "^4.3.0"
|
40 | },
|
41 | "dependencies": {
|
42 | "schema-utils": "^1.0.0",
|
43 | "loader-utils": "^1.2.3"
|
44 | },
|
45 | "devDependencies": {
|
46 | "@babel/cli": "^7.4.3",
|
47 | "@babel/core": "^7.4.3",
|
48 | "@babel/preset-env": "^7.4.3",
|
49 | "@commitlint/cli": "^7.5.2",
|
50 | "@commitlint/config-conventional": "^7.5.0",
|
51 | "@webpack-contrib/defaults": "^3.1.2",
|
52 | "@webpack-contrib/eslint-config-webpack": "^3.0.0",
|
53 | "babel-jest": "^24.7.1",
|
54 | "cross-env": "^5.2.0",
|
55 | "del": "^4.1.0",
|
56 | "del-cli": "^1.1.0",
|
57 | "eslint": "^5.16.0",
|
58 | "eslint-plugin-import": "^2.17.2",
|
59 | "eslint-plugin-prettier": "^2.7.0",
|
60 | "husky": "^1.3.1",
|
61 | "jest": "^24.7.1",
|
62 | "lint-staged": "^8.1.5",
|
63 | "memory-fs": "^0.4.1",
|
64 | "prettier": "^1.17.0",
|
65 | "standard-version": "^5.0.2",
|
66 | "webpack": "^4.30.0"
|
67 | },
|
68 | "keywords": [
|
69 | "webpack"
|
70 | ],
|
71 | "babel": {
|
72 | "presets": [
|
73 | [
|
74 | "@babel/preset-env",
|
75 | {
|
76 | "targets": {
|
77 | "node": "6.9.0"
|
78 | }
|
79 | }
|
80 | ]
|
81 | ]
|
82 | },
|
83 | "husky": {
|
84 | "hooks": {
|
85 | "pre-commit": "lint-staged",
|
86 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
87 | }
|
88 | },
|
89 | "lint-staged": {
|
90 | "*.js": [
|
91 | "eslint --fix",
|
92 | "git add"
|
93 | ]
|
94 | },
|
95 | "commitlint": {
|
96 | "extends": [
|
97 | "@commitlint/config-conventional"
|
98 | ]
|
99 | },
|
100 | "prettier": {
|
101 | "singleQuote": true,
|
102 | "trailingComma": "es5",
|
103 | "arrowParens": "always"
|
104 | }
|
105 | }
|