更新代码

This commit is contained in:
duan
2024-09-10 16:51:39 +08:00
parent 4a6de0a22b
commit 842a5ce7ab
15 changed files with 1036 additions and 500 deletions

View File

@@ -1,52 +1,38 @@
{
"name": "copy-webpack-plugin",
"version": "12.0.2",
"description": "Copy files && directories with webpack",
"license": "MIT",
"repository": "webpack-contrib/copy-webpack-plugin",
"author": "Len Boyette",
"homepage": "https://github.com/webpack-contrib/copy-webpack-plugin",
"bugs": "https://github.com/webpack-contrib/copy-webpack-plugin/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/webpack"
},
"main": "dist/index.js",
"types": "types/index.d.ts",
"engines": {
"node": ">= 18.12.0"
},
"scripts": {
"start": "npm run build -- -w",
"clean": "del-cli dist types",
"prebuild": "npm run clean",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir types --rootDir src && prettier \"types/**/*.ts\" --write",
"build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
"build": "npm-run-all -p \"build:**\"",
"commitlint": "commitlint --from=master",
"security": "npm audit --production",
"lint:prettier": "prettier --cache --list-different .",
"lint:js": "eslint --cache .",
"lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
"lint:types": "tsc --pretty --noEmit",
"lint": "npm-run-all -l -p \"lint:**\"",
"fix:js": "npm run lint:js -- --fix",
"fix:prettier": "npm run lint:prettier -- --write",
"fix": "npm-run-all -l fix:js fix:prettier",
"test:only": "cross-env NODE_ENV=test jest",
"test:watch": "npm run test:only -- --watch",
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
"pretest": "npm run lint",
"test": "npm run test:coverage",
"prepare": "husky install && npm run build",
"release": "standard-version"
},
"files": [
"dist",
"types"
"_args": [
[
"copy-webpack-plugin@12.0.2",
"C:\\Users\\asus\\Desktop\\cashier_admin_app"
]
],
"peerDependencies": {
"webpack": "^5.1.0"
"_development": true,
"_from": "copy-webpack-plugin@12.0.2",
"_id": "copy-webpack-plugin@12.0.2",
"_inBundle": false,
"_integrity": "sha512-SNwdBeHyII+rWvee/bTnAYyO8vfVdcSTud4EIb6jcZ8inLeWucJE0DnxXQBjlQ5zlteuuvooGQy3LIyGxhvlOA==",
"_location": "/copy-webpack-plugin",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "copy-webpack-plugin@12.0.2",
"name": "copy-webpack-plugin",
"escapedName": "copy-webpack-plugin",
"rawSpec": "12.0.2",
"saveSpec": null,
"fetchSpec": "12.0.2"
},
"_requiredBy": [
"#DEV:/"
],
"_resolved": "https://registry.npmmirror.com/copy-webpack-plugin/-/copy-webpack-plugin-12.0.2.tgz",
"_spec": "12.0.2",
"_where": "C:\\Users\\asus\\Desktop\\cashier_admin_app",
"author": {
"name": "Len Boyette"
},
"bugs": {
"url": "https://github.com/webpack-contrib/copy-webpack-plugin/issues"
},
"dependencies": {
"fast-glob": "^3.3.2",
@@ -56,6 +42,7 @@
"schema-utils": "^4.2.0",
"serialize-javascript": "^6.0.2"
},
"description": "Copy files && directories with webpack",
"devDependencies": {
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.7",
@@ -88,11 +75,60 @@
"typescript": "^5.3.3",
"webpack": "^5.89.0"
},
"engines": {
"node": ">= 18.12.0"
},
"files": [
"dist",
"types"
],
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/webpack"
},
"homepage": "https://github.com/webpack-contrib/copy-webpack-plugin",
"keywords": [
"webpack",
"plugin",
"transfer",
"move",
"copy"
]
],
"license": "MIT",
"main": "dist/index.js",
"name": "copy-webpack-plugin",
"peerDependencies": {
"webpack": "^5.1.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/webpack-contrib/copy-webpack-plugin.git"
},
"scripts": {
"build": "npm-run-all -p \"build:**\"",
"build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir types --rootDir src && prettier \"types/**/*.ts\" --write",
"clean": "del-cli dist types",
"commitlint": "commitlint --from=master",
"fix": "npm-run-all -l fix:js fix:prettier",
"fix:js": "npm run lint:js -- --fix",
"fix:prettier": "npm run lint:prettier -- --write",
"lint": "npm-run-all -l -p \"lint:**\"",
"lint:js": "eslint --cache .",
"lint:prettier": "prettier --cache --list-different .",
"lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
"lint:types": "tsc --pretty --noEmit",
"prebuild": "npm run clean",
"prepare": "husky install && npm run build",
"pretest": "npm run lint",
"release": "standard-version",
"security": "npm audit --production",
"start": "npm run build -- -w",
"test": "npm run test:coverage",
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
"test:only": "cross-env NODE_ENV=test jest",
"test:watch": "npm run test:only -- --watch"
},
"types": "types/index.d.ts",
"version": "12.0.2"
}