-
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* style: sort entries in gitignore * chore: add .editorconfig * style: sort package.json * chore: replace Pragmatist build with Babel * chore: replace Pragmatist test with Mocha * chore: replace Pragmatist lint with ESLint * chore: remove Pragmatist * chore: move ./tests to ./test * style: fix style * docs: fix docs * chore: add a precommit hook * chore: fix .travis.yml * chore: add commitmsg hook * feat: use semantic-release BREAKING CHANGE: Unreleased changes from previous PRs potentially introduce breaking changes.
- Loading branch information
Showing
16 changed files
with
888 additions
and
864 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"plugins": [ | ||
"add-module-exports" | ||
], | ||
"presets": [ | ||
"es2015" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"extends": [ | ||
"canonical" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": [ | ||
"canonical", | ||
"canonical/lodash" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
node_modules | ||
coverage | ||
dist | ||
node_modules | ||
*.log | ||
.* | ||
!.babelrc | ||
!.conventional-changelog-lintrc | ||
!.editorconfig | ||
!.eslintrc | ||
!.gitignore | ||
!.npmignore | ||
!.babelrc | ||
!.travis.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
language: node_js | ||
node_js: | ||
- '0.11' | ||
- '0.10' | ||
matrix: | ||
allow_failures: | ||
- node_js: '0.11' | ||
install: | ||
- npm install | ||
- 7 | ||
- 6 | ||
- 5 | ||
- 4 | ||
scripts: | ||
- npm run test | ||
- npm run lint | ||
- npm run build | ||
after_success: | ||
- npm run semantic-release | ||
notifications: | ||
email: false | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,57 @@ | ||
{ | ||
"name": "swing", | ||
"description": "A swipeable cards interface. The swipe-left/swipe-right for yes/no input. As seen in apps like Jelly and Tinder.", | ||
"keywords": [ | ||
"swipe", | ||
"cards", | ||
"swipeable" | ||
], | ||
"version": "3.0.3", | ||
"main": "./dist/index.js", | ||
"author": { | ||
"name": "Gajus Kuizinas", | ||
"email": "gajus@gajus.com", | ||
"name": "Gajus Kuizinas", | ||
"url": "http://gajus.com" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/gajus/swing" | ||
"dependencies": { | ||
"hammerjs": "^2.0.4", | ||
"lodash": "^4.6.1", | ||
"raf": "^3.1.0", | ||
"rebound": "^0.0.13", | ||
"sister": "^3.0.0", | ||
"vendor-prefix": "^0.1.0" | ||
}, | ||
"license": "BSD-3-Clause", | ||
"description": "A swipeable cards interface. The swipe-left/swipe-right for yes/no input. As seen in apps like Jelly and Tinder.", | ||
"devDependencies": { | ||
"babel": "^6.5.2", | ||
"babel-cli": "^6.18.0", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-preset-es2015": "^6.18.0", | ||
"babel-register": "^6.18.0", | ||
"chai": "^3.2.0", | ||
"conventional-changelog-cli": "^1.2.0", | ||
"conventional-changelog-lint": "^1.1.0", | ||
"conventional-changelog-lint-config-canonical": "^1.0.0", | ||
"eslint": "^3.9.1", | ||
"eslint-config-canonical": "^5.0.0", | ||
"husky": "^0.11.9", | ||
"jsdom": "^6.3.0", | ||
"jsonfile": "^2.2.1", | ||
"pragmatist": "^3.0.21", | ||
"mocha": "^3.1.2", | ||
"semantic-release": "^4.3.5", | ||
"sinon": "^1.16.1", | ||
"webpack": "^1.12.1" | ||
}, | ||
"dependencies": { | ||
"hammerjs": "^2.0.4", | ||
"lodash": "^4.6.1", | ||
"raf": "^3.1.0", | ||
"rebound": "^0.0.13", | ||
"sister": "^3.0.0", | ||
"vendor-prefix": "^0.1.0" | ||
"keywords": [ | ||
"swipe", | ||
"cards", | ||
"swipeable" | ||
], | ||
"license": "BSD-3-Clause", | ||
"main": "./dist/index.js", | ||
"name": "swing", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/gajus/swing" | ||
}, | ||
"scripts": { | ||
"pragmatist": "pragmatist --es5", | ||
"lint": "npm run pragmatist lint", | ||
"test": "npm run pragmatist test", | ||
"build": "npm run pragmatist build", | ||
"watch": "npm run pragmatist watch", | ||
"watch-lint": "npm run pragmatist watch-lint", | ||
"watch-test": "npm run pragmatist watch-test", | ||
"watch-build": "npm run pragmatist watch-build" | ||
} | ||
"build": "babel ./src --out-dir ./dist --copy-files", | ||
"commitmsg": "conventional-changelog-lint -e", | ||
"lint": "eslint ./src ./test", | ||
"precommit": "npm run lint && npm run test", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post", | ||
"test": "mocha --compilers js:babel-register" | ||
}, | ||
"version": "3.0.3" | ||
} |
Oops, something went wrong.