Skip to content

Commit 3285dba

Browse files
committed
build: remove useless building scripts
1 parent 29256bf commit 3285dba

File tree

4 files changed

+98
-5428
lines changed

4 files changed

+98
-5428
lines changed

gulpfile.js

Lines changed: 0 additions & 84 deletions
This file was deleted.

jest.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
******************************************************************************/
99

1010
module.exports = {
11-
verbose: false,
11+
verbose: true,
12+
testMatch: ['**/test/**/*.test.js'],
1213
testEnvironment: 'jest-environment-jsdom-global',
1314
testEnvironmentOptions: {
1415
customExportConditions: ['node', 'node-addons'],

package.json

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "@haixing_hu/vue3-class-component",
33
"version": "1.2.0",
44
"description": "A JavaScript class decorator for Vue3 components",
5-
"type": "module",
65
"main": "dist/vue3-class-component.cjs.min.js",
76
"module": "dist/vue3-class-component.es.min.js",
87
"exports": {
@@ -15,11 +14,9 @@
1514
"clean": "rm -rvf dist doc",
1615
"build": "cross-env NODE_ENV=production rollup -c rollup.config.mjs",
1716
"build:dev": "cross-env NODE_ENV=development rollup -c rollup.config.mjs",
18-
"test": "vitest run --coverage",
17+
"test": "jest",
1918
"lint": "eslint ./src ./test",
2019
"doc": "jsdoc -c jsdoc.json",
21-
"analyze": "cross-env USE_ANALYZER=true NODE_ENV=production gulp build",
22-
"analyze:dev": "cross-env USE_ANALYZER=true NODE_ENV=development gulp build",
2320
"es5": "check-es-version -e 5 -s true",
2421
"deploy": "yarn && yarn lint && yarn test && yarn build:dev && yarn build && npm publish --registry='https://registry.npmjs.com/' --access public"
2522
},
@@ -58,11 +55,8 @@
5855
"@babel/runtime": "^7.23.2",
5956
"@haixing_hu/eslint-config": "^1.0.4",
6057
"@haixing_hu/jsdoc-minami": "^1.5.0",
61-
"@haixing_hu/vite-plugin-babel": "^1.4.0",
6258
"@jest/core": "^29.7.0",
6359
"@rollup/plugin-babel": "^6.0.4",
64-
"@vitejs/plugin-vue": "^4.4.0",
65-
"@vitest/coverage-istanbul": "^0.34.6",
6660
"@vue/compiler-dom": "^3.3.4",
6761
"@vue/compiler-sfc": "^3.3.4",
6862
"@vue/server-renderer": "^3.3.4",
@@ -76,29 +70,14 @@
7670
"eslint": "^8.49.0",
7771
"eslint-plugin-import": "^2.28.1",
7872
"eslint-plugin-vue": "^9.17.0",
79-
"gulp": "^4.0.2",
80-
"gulp-connect": "^5.7.0",
81-
"gulp-eslint-new": "^1.8.3",
82-
"gulp-if": "^3.0.0",
83-
"gulp-jest": "^4.0.4",
84-
"gulp-jsdoc3": "^3.0.0",
85-
"happy-dom": "^12.9.1",
8673
"jest": "^29.7.0",
8774
"jest-environment-jsdom": "^29.7.0",
8875
"jest-environment-jsdom-global": "^4.0.0",
89-
"jest-environment-node": "^29.7.0",
9076
"jest-extended": "^4.0.1",
9177
"jsdoc": "^4.0.2",
9278
"rollup": "^4.0.2",
93-
"terser-webpack-plugin": "^5.3.9",
94-
"vite": "^4.4.11",
95-
"vitest": "^0.34.6",
9679
"vue": "^3.3.4",
97-
"vue-template-compiler": "^2.7.14",
98-
"webpack": "^5.88.2",
99-
"webpack-bundle-analyzer": "^4.9.1",
100-
"webpack-merge": "^5.9.0",
101-
"webpack-stream": "^7.0.0"
80+
"vue-template-compiler": "^2.7.14"
10281
},
10382
"packageManager": "[email protected]"
10483
}

0 commit comments

Comments
 (0)