Skip to content

Commit

Permalink
move index into src and add dist export
Browse files Browse the repository at this point in the history
  • Loading branch information
gre committed Mar 14, 2016
1 parent b12bd5d commit e0036aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1 +1,2 @@
node_modules
/node_modules
/dist
7 changes: 5 additions & 2 deletions package.json
Expand Up @@ -12,13 +12,16 @@
"timing-function"
],
"author": "Gaëtan Renaudeau <renaudeau.gaetan@gmail.com>",
"main": "index.js",
"main": "src/index.js",
"files": ["src", "dist"],
"license": "MIT",
"scripts": {
"test": "mocha",
"benchmark": "node benchmark.js",
"visual": "budo visual-demo.js",
"build": "browserify --standalone BezierEasing index.js | uglifyjs -cm > build.js"
"prepublish": "rm -rf dist && mkdir -p dist && npm run build-dev && npm run build-prod",
"build-dev": "browserify --standalone BezierEasing src/index.js > dist/bezier-easing.js",
"build-prod": "browserify --standalone BezierEasing src/index.js > dist/bezier-easing.min.js"
},
"devDependencies": {
"assert": "^1.3.0",
Expand Down
File renamed without changes.

0 comments on commit e0036aa

Please sign in to comment.