diff --git a/_scripts/build b/_scripts/build index 13fe8a11..fe3c9cae 100755 --- a/_scripts/build +++ b/_scripts/build @@ -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 diff --git a/package.json b/package.json index a49dcc57..9a3ae941 100644 --- a/package.json +++ b/package.json @@ -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",