Skip to content

Commit

Permalink
Merge pull request #6 from Elao/update-dependencies
Browse files Browse the repository at this point in the history
Updated dev dependencies + added lint
  • Loading branch information
Thomas Jarrand authored Sep 8, 2020
2 parents 5436ee1 + acbe2c7 commit 7a0f99c
Show file tree
Hide file tree
Showing 11 changed files with 9,796 additions and 55 deletions.
35 changes: 35 additions & 0 deletions .eslintrc.json
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"] }
]
}
}
5 changes: 2 additions & 3 deletions .gitignore
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
26 changes: 26 additions & 0 deletions Makefile
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
6 changes: 0 additions & 6 deletions dist/container.js

This file was deleted.

Loading

0 comments on commit 7a0f99c

Please sign in to comment.