-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated dev dependencies + added lint
- Loading branch information
Thomas Jarrand
committed
Aug 27, 2020
1 parent
5436ee1
commit acbe2c7
Showing
11 changed files
with
9,796 additions
and
55 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,35 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"parserOptions": { | ||
"ecmaVersion": 2017, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"indent": [ | ||
"error", | ||
2, | ||
{ "SwitchCase": 1 } | ||
], | ||
"linebreak-style": [ | ||
"error", | ||
"unix" | ||
], | ||
"quotes": [ | ||
"error", | ||
"single" | ||
], | ||
"semi": [ | ||
"error", | ||
"always" | ||
], | ||
"no-console": [ | ||
"error", | ||
{ "allow": ["info", "error"] } | ||
] | ||
} | ||
} |
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,3 +1,2 @@ | ||
/node_modules | ||
yarn.lock | ||
package-lock.json | ||
node_modules/* | ||
container.js |
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,26 @@ | ||
.SILENT: | ||
.PHONY: test | ||
|
||
# Install dependencies | ||
install: | ||
npm install | ||
|
||
# Launch watch | ||
watch: | ||
npm run watch | ||
|
||
# Build lib | ||
build: | ||
npm run build | ||
|
||
# Lint and code style fix | ||
lint: | ||
npm run lint | ||
|
||
# Test | ||
test: build | ||
npm run test | ||
|
||
# Publish package | ||
publish: build | ||
npm publish . --access public |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.