mirror of
https://github.com/jaedle/mirror-to-gitea.git
synced 2026-01-09 21:07:55 -05:00
migrate to javascript module
This commit is contained in:
12
package.json
12
package.json
@@ -2,10 +2,10 @@
|
||||
"name": "mirror-to-gitea",
|
||||
"version": "1.0.0",
|
||||
"description": "mirror all your public github repositories to your gitea server",
|
||||
"main": "index.js",
|
||||
"main": "index.cjs",
|
||||
"scripts": {
|
||||
"build": "esbuild src/index.js --bundle --outdir=dist/ --platform=node",
|
||||
"test": "jest"
|
||||
"build": "esbuild src/index.cjs --bundle --outdir=dist/ --platform=node",
|
||||
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -19,15 +19,19 @@
|
||||
},
|
||||
"homepage": "https://github.com/jaedle/mirror-to-gitea#readme",
|
||||
"dependencies": {
|
||||
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
||||
"@babel/plugin-transform-runtime": "^7.25.4",
|
||||
"@octokit/rest": "^21.0.2",
|
||||
"@types/jest": "^29.5.13",
|
||||
"p-queue": "^8.0.1",
|
||||
"superagent": "^10.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/plugin-transform-modules-commonjs": "^7.24.8",
|
||||
"@babel/preset-env": "^7.25.4",
|
||||
"babel-jest": "^29.7.0",
|
||||
"esbuild": "0.24.0",
|
||||
"jest": "^29.7.0"
|
||||
}
|
||||
},
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user