-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
57 additions
and
16 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 |
---|---|---|
|
@@ -4,11 +4,16 @@ | |
"description": "Parser for NMEA sentences.", | ||
"main": "lib", | ||
"scripts": { | ||
"babel": "babel src --out-dir lib", | ||
"eslint": "eslint src", | ||
"prepublish": "npm run build -s", | ||
"prebuild": "npm run lint -s && npm run clean -s", | ||
"build": "babel src --out-dir lib --source-maps", | ||
"lint": "eslint src", | ||
"clean": "rimraf lib", | ||
"build": "npm run clean && npm run eslint && npm run babel", | ||
"test": "mocha --compilers js:babel/register src/test" | ||
"pretest": "npm run build -s", | ||
"test": "mocha --compilers js:babel-core/register" | ||
}, | ||
"engines": { | ||
"node": ">=0.12.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|
@@ -20,24 +25,60 @@ | |
"parser", | ||
"gprmc" | ||
], | ||
"author": "Leonardo Gatica <[email protected]> (https://about.me/lgaticaq)", | ||
"author": "Leonardo Gatica <[email protected]> (https://about.me/lgatica)", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/lgaticaq/node-nmea/issues" | ||
}, | ||
"homepage": "https://github.com/lgaticaq/node-nmea#readme", | ||
"dependencies": { | ||
"chance": "^0.8.0", | ||
"moment": "^2.11.2", | ||
"pad": "^1.0.0", | ||
"xregexp": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"babel": "^5.8.23", | ||
"eslint": "^1.2.1", | ||
"mocha": "^2.2.5", | ||
"rimraf": "^2.4.3" | ||
"babel-cli": "^6.4.0", | ||
"babel-core": "^6.4.0", | ||
"babel-preset-es2015": "^6.3.13", | ||
"chai": "^3.4.1", | ||
"eslint": "^1.10.3", | ||
"mocha": "^2.4.5", | ||
"rimraf": "^2.5.1" | ||
}, | ||
"dependencies": { | ||
"chance": "^0.7.6", | ||
"moment": "^2.10.6", | ||
"xregexp": "^2.0.0" | ||
"eslintConfig": { | ||
"rules": { | ||
"indent": [ | ||
2, | ||
2 | ||
], | ||
"quotes": [ | ||
2, | ||
"single" | ||
], | ||
"linebreak-style": [ | ||
2, | ||
"unix" | ||
], | ||
"semi": [ | ||
2, | ||
"always" | ||
] | ||
}, | ||
"ecmaFeatures": { | ||
"modules": true | ||
}, | ||
"env": { | ||
"es6": true, | ||
"node": true, | ||
"mocha": true | ||
}, | ||
"extends": "eslint:recommended" | ||
}, | ||
"engines": { | ||
"node": ">=0.10.0" | ||
} | ||
"babel": { | ||
"presets": [ | ||
"es2015" | ||
] | ||
}, | ||
"tonicExampleFilename": "example.js" | ||
} |