Skip to content

Commit

Permalink
fix(npm): update scripts and readme for npm packages.
Browse files Browse the repository at this point in the history
Replaces AtScript with Typescript.

Closes #2377
  • Loading branch information
rkirov committed Jun 9, 2015
1 parent f34f8df commit 8923103
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions modules/angular2/README.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ The sources for this package are in the main [Angular2](https://github.com/angul

This package contains different sources for different users:

1. The files located in the root folder can be consumed using CommonJS
1. The files located in the root folder can be consumed using CommonJS.
2. The files under `/es6` are es6 compatible files that can be transpiled to
es5 using any transpiler. This contains:
* `dev/`: a development version that includes runtime type assertions
* `prod/`: a production version that does not include runtime type assertions
3. The files under `/atscript` are the AtScript source files
3. The files under `/ts` are the TypeScript source files.

As a convenience, we provide you with `/es6/{dev|prod}/es5build.js`, a script to transpile the es6 sources into es5
using [Google Traceur](https://github.com/google/traceur-compiler/).
Expand Down
2 changes: 1 addition & 1 deletion modules/benchpress/README.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This package contains different sources for different users:
es5 using any transpiler. This contains:
* `dev/`: a development version that includes runtime type assertions
* `prod/`: a production version that does not include runtime type assertions
3. The files under `/atscript` are the AtScript source files
3. The files under `/ts` are the Typescript source files

As a convenience, we provide you with `/es6/{dev|prod}/es5build.js`, a script to transpile the es6 sources into es5
using [Google Traceur](https://github.com/google/traceur-compiler/).
Expand Down
4 changes: 2 additions & 2 deletions scripts/publish/npm_publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ function publishModule {
cp -r $ROOT_DIR/dist/js/dev/es6/$NAME/$FILES $PUBLISH_DIR/es6/dev
mkdir -p $PUBLISH_DIR/es6/prod
cp -r $ROOT_DIR/dist/js/prod/es6/$NAME/$FILES $PUBLISH_DIR/es6/prod
mkdir -p $PUBLISH_DIR/atscript
cp -r $ROOT_DIR/modules/$NAME/$FILES $PUBLISH_DIR/atscript
mkdir -p $PUBLISH_DIR/ts
cp -r $ROOT_DIR/modules/$NAME/$FILES $PUBLISH_DIR/ts

cp -r $ROOT_DIR/dist/js/cjs/$NAME/$FILES $PUBLISH_DIR

Expand Down

0 comments on commit 8923103

Please sign in to comment.