-
-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 4.37 KB
/
Copy pathpackage.json
File metadata and controls
119 lines (119 loc) · 4.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "diagnostics-webpack-plugin",
"version": "0.0.0",
"description": "Runs linters, type checkers and other diagnostic tools over your sources during the webpack build",
"keywords": [
"diagnostics",
"lint",
"linter",
"eslint",
"stylelint",
"plugin",
"webpack"
],
"homepage": "https://github.com/webpack/diagnostics-webpack-plugin",
"bugs": "https://github.com/webpack/diagnostics-webpack-plugin/issues",
"repository": "webpack/diagnostics-webpack-plugin",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/webpack"
},
"license": "MIT",
"author": "Ricardo Gobbo de Souza <ricardogobbosouza@yahoo.com.br>",
"type": "module",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
"files": [
"dist",
"types"
],
"scripts": {
"start": "npm run build -- -w",
"clean": "del-cli dist types",
"prebuild": "npm run clean",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.{ts,cts,mts}\" --write",
"build": "npm-run-all -p \"build:**\"",
"commitlint": "commitlint --from=main",
"security": "npm audit --omit=dev",
"lint:prettier": "prettier -w --list-different .",
"lint:code": "eslint --cache .",
"lint:spelling": "cspell \"**/*.*\"",
"lint:types": "tsc --pretty --noEmit",
"lint": "npm-run-all -l -p \"lint:**\"",
"fix:code": "npm run lint:code -- --fix",
"fix:prettier": "npm run lint:prettier -- --write",
"fix": "npm-run-all -l fix:code fix:prettier",
"test:only": "cross-env NODE_ENV=test node --test --test-timeout=60000 --test-reporter=spec --test-reporter-destination=stdout \"test/**/*.test.js\"",
"test:watch": "npm run test:only -- --watch",
"test:coverage": "cross-env NODE_ENV=test node --test --test-timeout=60000 --experimental-test-coverage --test-coverage-include=\"src/**\" --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=lcov.info \"test/**/*.test.js\"",
"pretest": "npm run lint",
"test": "npm run test:coverage",
"prepare": "husky && npm run build",
"version": "changeset version",
"release": "npm run build && changeset publish",
"build:esm": "cross-env NODE_ENV=production babel src -d dist/esm --env-name esm --extensions \".js\" --copy-files --no-copy-ignored && node -e \"require('fs').writeFileSync('dist/esm/package.json','{\\\"type\\\": \\\"module\\\"}\\n')\"",
"build:cjs": "cross-env NODE_ENV=production babel src -d dist/cjs --env-name cjs --extensions \".js\" --copy-files --no-copy-ignored && node -e \"const fs=require('fs');fs.writeFileSync('dist/cjs/package.json','{\\\"type\\\": \\\"commonjs\\\"}\\n');fs.appendFileSync('dist/cjs/index.js','module.exports = exports.default;\\nmodule.exports.default = exports.default;\\n')\""
},
"dependencies": {
"@types/eslint": "^9.6.1",
"jest-worker": "^30.5.1",
"picomatch": "^4.0.4",
"schema-utils": "^4.3.3",
"tinyglobby": "^0.2.17"
},
"devDependencies": {
"@babel/cli": "^7.29.7",
"@babel/core": "^7.29.7",
"@babel/preset-env": "^7.29.7",
"@changesets/cli": "^3.0.2",
"@changesets/get-github-info": "^0.8.0",
"@commitlint/cli": "^21.2.2",
"@commitlint/config-conventional": "^21.2.2",
"@types/micromatch": "^4.0.10",
"@types/node": "^26.4.1",
"@types/picomatch": "^4.0.3",
"babel-plugin-transform-import-meta": "^2.3.3",
"chokidar": "^5.0.0",
"cross-env": "^10.1.0",
"cspell": "^10.2.2",
"del": "^8.0.1",
"del-cli": "^7.0.0",
"eslint": "^10.10.0",
"eslint-config-webpack": "^4.9.6",
"file-loader": "^6.2.0",
"globals": "^17.12.0",
"husky": "^9.1.7",
"lint-staged": "^17.5.0",
"npm-run-all": "^4.1.5",
"postcss-scss": "^4.0.9",
"prettier": "^3.9.6",
"stylelint": "^17.15.0",
"typescript": "^6.0.3",
"webpack": "^5.110.3"
},
"peerDependencies": {
"eslint": "^9.0.0 || ^10.0.0",
"stylelint": "^17.0.0",
"webpack": "^5.0.0"
},
"peerDependenciesMeta": {
"eslint": {
"optional": true
},
"stylelint": {
"optional": true
}
},
"engines": {
"node": ">= 22.12.0"
}
}