Skip to content

Commit

Permalink
Merge pull request #14457 from locks/ember-source-cleanup
Browse files Browse the repository at this point in the history
ember-source related cleanup
  • Loading branch information
rwjblue authored Oct 27, 2016
2 parents bcb4183 + 8f94545 commit bf6c66e
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1 +1,33 @@
node-tests/
CODE_OF_CONDUCT.md
CONTRIBUTING.md
FEATURES.md
STYLEGUIDE.md
VERSION
bin
blueprints
bower.json
bower_components
config
ember-cli-build.js
ember-source.gemspec
features.json
generators
lib
node-tests
node_modules
packages
scripts
server
testem.dist.json
testem.json
testem.travis-browsers.js
tests
tmp
vendor
!vendor/ember/
yarn.lock
yuidoc.json

# In the future we will likely want to restrict exactly
# which parts of `/dist` we want to include.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"test:blueprints": "node node-tests/nodetest-runner.js",
"start": "ember serve",
"docs": "ember ember-cli-yuidoc",
"sauce:launch": "ember sauce:launch"
"sauce:launch": "ember sauce:launch",
"release": "node scripts/release.js"
},
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions scripts/release.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
var execSync = require('child_process').execSync;

execSync("ember build --environment production");
execSync("npm publish");

0 comments on commit bf6c66e

Please sign in to comment.