Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
Merge 3fbc3c8 into 119e979
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Jun 3, 2017
2 parents 119e979 + 3fbc3c8 commit 3f37fa6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 18 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test-cov": "ts-node node_modules/istanbul/lib/cli.js cover -e .ts --print none -x \"*.d.ts\" -x \"*.spec.ts\" node_modules/blue-tape/bin/blue-tape.js -- \"src/**/*.spec.ts\"",
"test": "npm run build && npm run dependency-check && npm run test-cov && npm run lint",
"bootstrap": "npm install shelljs && node scripts/bootstrap.js",
"prepublish": "node scripts/prepublish.js"
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -81,7 +81,7 @@
"dependency-check": "^2.5.1",
"istanbul": "1.0.0-alpha.2",
"nock": "^9.0.0",
"shelljs": "^0.7.0",
"shelljs": "^0.7.7",
"tap-diff": "^0.1.1",
"ts-node": "^3.0.0",
"tslint": "^5.0.0",
Expand Down
17 changes: 9 additions & 8 deletions scripts/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
require('shelljs/global')

echo('mkdir typings')
mkdir('-p', 'typings')
echo('npm install')
exec('npm install')
echo('')

echo('touch typings/index.d.ts')
touch('typings/index.d.ts')
echo('Using PATH:')
echo(process.env.PATH)
echo(ls('node_modules/.bin'))
echo('')

echo('SKIP_PREPUBLISH=true')
env['SKIP_PREPUBLISH'] = true
echo('mkdir typings')
mkdir('-p', 'typings')
echo('')

echo('npm install')
exec('npm install')
echo('touch typings/index.d.ts')
touch('typings/index.d.ts')
echo('')

echo('rimraf dist')
Expand Down
8 changes: 0 additions & 8 deletions scripts/prepublish.js

This file was deleted.

0 comments on commit 3f37fa6

Please sign in to comment.