Skip to content

Commit

Permalink
fix(lib): align standards with javascript-library-template (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvo committed Mar 6, 2020
1 parent 953e0f4 commit 26e0be9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# misc
.DS_Store
/index.dist*
/dist/

# debug
npm-debug.log*
Expand Down
3 changes: 1 addition & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/.history/
/.yarn/
/.vscode/
/index.dist*
/dist/
/coverage/
File renamed without changes.
File renamed without changes.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@
"license": "MIT",
"author": "Vincent Voyer <[email protected]>",
"files": [
"index.dist.js",
"index.dist.js.map",
"dist/",
"lib/",
"LICENSE",
"README.md"
],
"main": "index.dist.js",
"main": "dist/",
"scripts": {
"build": "babel index.js -o index.dist.js --source-maps",
"build": "babel lib/ -d dist/ --source-maps --ignore '**/*.test.js' --delete-dir-on-start",
"check-formatting": "prettier --check './**/*.?(json|js|md|css)' && eslint .",
"prepublishOnly": "yarn build",
"semantic-release": "semantic-release",
"test": "jest --coverage && prettier --check './**/*.?(json|js|md|css)' && eslint ."
"test": "jest --coverage && yarn check-formatting"
},
"babel": {
"presets": [
Expand Down

0 comments on commit 26e0be9

Please sign in to comment.