Skip to content

Commit

Permalink
Merge pull request #2 from azinasili/transpile
Browse files Browse the repository at this point in the history
Ship es5 instead
  • Loading branch information
Azin Asili authored Apr 18, 2017
2 parents 3c53d48 + e4b9507 commit 294602a
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 18 deletions.
23 changes: 11 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
# Compiled source #
###################
# Compiled source
#================
*.com
*.class
*.dll
*.exe
*.o
*.so

# Compressed #
##############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
# Compressed
#===========
*.7z
*.dmg
*.gz
Expand All @@ -19,14 +17,14 @@
*.tar
*.zip

# Logs and databases #
######################
# Logs and databases
#===================
*.log
*.sql
*.sqlite

# OS generated files #
######################
# OS generated files
#===================

# Mac OS
.DS_Store
Expand All @@ -39,7 +37,8 @@
ehthumbs.db
Thumbs.db

# Project Specific #
####################
# Project Specific
#=================
node_modules
npm-debug.log
dist
10 changes: 7 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Don't exclude transpiled files, they are used by npm
#=====================================================
# dist

# Exclude everything
####################
#===================
.github
.editorconfig
.babelrc
src
bower.json
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dragit",
"version": "1.1.0",
"version": "2.0.0",
"description": "Click/tap and drag to scroll content within a container.",
"homepage": "https://github.com/azinasili/dragit",
"authors": "Azin Asili <[email protected]>",
Expand Down
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "dragit",
"version": "1.1.0",
"version": "2.0.0",
"description": "Click/tap and drag to scroll content within a container.",
"homepage": "https://github.com/azinasili/dragit",
"author": "Azin Asili <[email protected]>",
"license": "MIT",
"main": "dragit.js",
"main": "dist/dragit.js",
"keywords": [
"dragit",
"drag",
Expand All @@ -20,5 +20,13 @@
},
"bugs": {
"url": "https://github.com/azinasili/dragit/issues"
},
"scripts": {
"build": "babel src --presets babel-preset-es2015 --out-dir dist",
"prepublish": "npm run build"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-preset-es2015": "^6.24.1"
}
}
File renamed without changes.

0 comments on commit 294602a

Please sign in to comment.