Skip to content

Commit

Permalink
build: Add jshint/lint/etc config and a new package file
Browse files Browse the repository at this point in the history
  • Loading branch information
qdot committed May 23, 2017
1 parent 4750947 commit f4617f5
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true
}
}
3 changes: 3 additions & 0 deletions .jscsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"preset": "google"
}
6 changes: 6 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"node":true,
"browser":true,
"noyield":true,
"esversion": 6
}
27 changes: 27 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "buttplug",
"version": "0.0.1",
"description": "Javascript library for accessing buttplug servers via node.js or web sockets",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/metafetish/buttplug-js.git"
},
"keywords": [
"teledildonics",
"hardware"
],
"author": "The Metafetish Project",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/metafetish/buttplug-js/issues"
},
"homepage": "https://github.com/metafetish/buttplug-js#readme",
"dependencies": {
"ajv": "^5.1.3",
"ws": "^3.0.0"
}
}

0 comments on commit f4617f5

Please sign in to comment.