Skip to content

Commit

Permalink
revert(npm): revert 4493754
Browse files Browse the repository at this point in the history
fixes #163
  • Loading branch information
trxcllnt committed Nov 21, 2017
1 parent a3c4d12 commit 564c600
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,13 +321,7 @@ const createIxPackageJson = (target, format) => (orig) => ({
module: `Ix.mjs`,
browser: `Ix.es5.min.js`,
[`@std/esm`]: { esm: `mjs` },
[`browser:es2015`]: `Ix.es2015.min.js`,
// Temporary workaround until https://github.com/Microsoft/tslib/pull/44 is merged
scripts: {
postinstall: `npm i shx && npm run tslib_mjs && npm run tslib_pkg && npm r shx`,
tslib_mjs: `shx cp $(node -e \"console.log(require.resolve('tslib/tslib.es6.js'))\") $(node -e \"var r=require,p=r('path');console.log(p.join(p.dirname(r.resolve('tslib')),'tslib.mjs'))\")`,
tslib_pkg: `node -e \"var r=require,p=r('path'),f=r('fs'),k=p.join(p.dirname(r.resolve('tslib')),'package.json'),x=JSON.parse(f.readFileSync(k));x.main='tslib';f.writeFileSync(k,JSON.stringify(x))\"`
}
[`browser:es2015`]: `Ix.es2015.min.js`
});

const createTsPackageJson = (target, format) => (orig) => ({
Expand Down

0 comments on commit 564c600

Please sign in to comment.