Skip to content

Commit

Permalink
Added README.md and CONTRIBUTING.md to npm packages
Browse files Browse the repository at this point in the history
  • Loading branch information
zship committed Apr 10, 2016
1 parent 31b80f4 commit 6c7642b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions _scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,23 @@ set -x
case "$1" in
es)
mkdir -p build/es
cp README.md build/es/
cp CONTRIBUTING.md build/es/
cp -a src/* build/es/
node _scripts/changePackageName.js lavaca > build/es/package.json
;;
amd)
mkdir -p build/amd
cp README.md build/amd/
cp CONTRIBUTING.md build/amd/
cp _scripts/.babelrc.amd .babelrc
./node_modules/babel-cli/bin/babel.js src -d build/amd
node _scripts/changePackageName.js lavaca-amd > build/amd/package.json
;;
commonjs)
mkdir -p build/commonjs
cp README.md build/commonjs/
cp CONTRIBUTING.md build/commonjs/
cp _scripts/.babelrc.commonjs .babelrc
./node_modules/babel-cli/bin/babel.js src -d build/commonjs
node _scripts/changePackageName.js lavaca-commonjs > build/commonjs/package.json
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lavaca",
"description": "A curated collection of tools built for mobile.",
"version": "4.0.0-alpha.2",
"version": "4.0.0-alpha.4",
"homepage": "https://github.com/mutualmobile/lavaca",
"author": {
"name": "mutualmobile",
Expand Down

0 comments on commit 6c7642b

Please sign in to comment.