mirror of
https://github.com/Mintplex-Labs/express-ws.git
synced 2026-06-30 20:38:03 -04:00
Add lint script to package.json
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"extends": "airbnb/base",
|
||||
"rules": {
|
||||
"comma-dangle": 0,
|
||||
"no-param-reassign": 0
|
||||
}
|
||||
}
|
||||
+5
-2
@@ -5,7 +5,8 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"prepublish": "npm run build",
|
||||
"build": "babel src/ -d lib/"
|
||||
"build": "babel src/ -d lib/",
|
||||
"lint": "eslint src/"
|
||||
},
|
||||
"author": "Henning Morud <henning@morud.org>",
|
||||
"contributors": [
|
||||
@@ -38,6 +39,8 @@
|
||||
"homepage": "https://github.com/HenningM/express-ws",
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.5.1",
|
||||
"babel-preset-es2015": "^6.5.0"
|
||||
"babel-preset-es2015": "^6.5.0",
|
||||
"eslint": "^1.10.3",
|
||||
"eslint-config-airbnb": "^5.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user