chore: package with Babel
This commit is contained in:
parent
5b0dcf927b
commit
424e594fa6
3 changed files with 1440 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
|
/compiled
|
||||||
/dist
|
/dist
|
||||||
/node_modules
|
/node_modules
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": "git@github.com:riboseinc/isogit-lfs.git",
|
"repository": "git@github.com:riboseinc/isogit-lfs.git",
|
||||||
"scripts": {
|
"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": [
|
"files": [
|
||||||
"README.adoc",
|
"README.adoc",
|
||||||
|
@ -24,6 +24,9 @@
|
||||||
"isomorphic-git": "^1.7.8"
|
"isomorphic-git": "^1.7.8"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@babel/cli": "^7.1.5",
|
||||||
|
"@babel/core": "^7.4.0",
|
||||||
|
"@babel/preset-env": "^7.4.2",
|
||||||
"@types/node": "^16.11.7",
|
"@types/node": "^16.11.7",
|
||||||
"isomorphic-git": "^1.7.8",
|
"isomorphic-git": "^1.7.8",
|
||||||
"typescript": "^4.4.2"
|
"typescript": "^4.4.2"
|
||||||
|
|
Loading…
Reference in a new issue