diff --git a/README.md b/README.md index 6f2a0d59..343d7c1c 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ you're going with the source route, Lavaca has three flavors available: - `npm install lavaca-amd`: AMD format - `npm install lavaca-commonjs`: CommonJS format -- `npm install lavaca-es6`: ES6 module format +- `npm install lavaca`: ES6 module format ## Documentation diff --git a/_scripts/build b/_scripts/build index cdc600d0..13fe8a11 100755 --- a/_scripts/build +++ b/_scripts/build @@ -23,7 +23,7 @@ case "$1" in es) mkdir -p build/es cp -a src/* build/es/ - node _scripts/changePackageName.js lavaca-es > build/es/package.json + node _scripts/changePackageName.js lavaca > build/es/package.json ;; amd) mkdir -p build/amd diff --git a/_scripts/changePackageName.js b/_scripts/changePackageName.js index d2c72629..dfd3d8b4 100644 --- a/_scripts/changePackageName.js +++ b/_scripts/changePackageName.js @@ -4,4 +4,6 @@ var path = require('path'); var json = fs.readFileSync(path.resolve(__dirname, '../package.json')); var pkg = JSON.parse(json); pkg.name = process.argv[2]; +delete pkg.devDependencies; +delete pkg.scripts; process.stdout.write(JSON.stringify(pkg, false, 4) + '\n'); diff --git a/package.json b/package.json index c081e951..a49dcc57 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.1", + "version": "4.0.0-alpha.2", "homepage": "https://github.com/mutualmobile/lavaca", "author": { "name": "mutualmobile",