chore: package with Babel

This commit is contained in:
Anton Strogonoff 2021-11-25 14:10:31 +01:00
parent 5b0dcf927b
commit 424e594fa6
3 changed files with 1440 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/compiled
/dist
/node_modules

View file

@ -5,7 +5,7 @@
"main": "index.js",
"repository": "git@github.com:riboseinc/isogit-lfs.git",
"scripts": {
"build": "rm -r dist; mkdir dist; tsc --outDir dist; cp package.json README.adoc dist/"
"build": "rm -r compiled dist; mkdir compiled dist; tsc --outDir compiled; babel compiled --out-dir dist; cp README.adoc package.json dist/; rsync -a --include '*/' --include '*.d.ts' --include '*.js.map' --exclude '*' compiled/ dist/"
},
"files": [
"README.adoc",
@ -24,6 +24,9 @@
"isomorphic-git": "^1.7.8"
},
"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/core": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"@types/node": "^16.11.7",
"isomorphic-git": "^1.7.8",
"typescript": "^4.4.2"

1437
yarn.lock

File diff suppressed because it is too large Load diff