Skip to content

Commit

Permalink
Rebuild JS, only ignore relative dist (so we don't ignore the actual …
Browse files Browse the repository at this point in the history
…JS dist as that's needed)
  • Loading branch information
Jonas Hagstedt committed Oct 14, 2015
1 parent eda8cff commit fcbbbf2
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -2,7 +2,7 @@
*.py[co]
__pycache__
MANIFEST
dist/
./dist/
docs/_build/
build/
.coverage
Expand Down
16 changes: 16 additions & 0 deletions package.json
@@ -0,0 +1,16 @@
{
"name": "star-ratings",
"version": "0.0.1",
"description": "Wildfish ratings",
"main": "./star_ratings/static/star-ratings/js/index.js",
"scripts": {
"build": "browserify ./star_ratings/static/star-ratings/js/index.js -o ./star_ratings/static/star-ratings/js/dist/star-ratings.js -s starRatings && yuglify ./star_ratings/static/star-ratings/js/dist/star-ratings.js",
"watch": "watchify ./star_ratings/static/star-ratings/js/index.js -o ./star_ratings/static/star-ratings/js/dist/star-ratings.js -d -v"
},
"author": "Jonas Hagstedt <hagstedt@gmail.com> (https://github.com/jonashagstedt)",
"license": "BSD",
"devDependencies": {
"browserify": "^10.2.4",
"yuglify": "^0.1.4"
}
}
Empty file.
16 changes: 0 additions & 16 deletions star_ratings/static/star-ratings/js/package.json

This file was deleted.

0 comments on commit fcbbbf2

Please sign in to comment.