Skip to content

Commit 042688f

Browse files
committed
Update dependencies
1 parent e5408e2 commit 042688f

1 file changed

Lines changed: 57 additions & 16 deletions

File tree

package.json

Lines changed: 57 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@
44
"description": "Parser for NMEA sentences.",
55
"main": "lib",
66
"scripts": {
7-
"babel": "babel src --out-dir lib",
8-
"eslint": "eslint src",
7+
"prepublish": "npm run build -s",
8+
"prebuild": "npm run lint -s && npm run clean -s",
9+
"build": "babel src --out-dir lib --source-maps",
10+
"lint": "eslint src",
911
"clean": "rimraf lib",
10-
"build": "npm run clean && npm run eslint && npm run babel",
11-
"test": "mocha --compilers js:babel/register src/test"
12+
"pretest": "npm run build -s",
13+
"test": "mocha --compilers js:babel-core/register"
14+
},
15+
"engines": {
16+
"node": ">=0.12.0"
1217
},
1318
"repository": {
1419
"type": "git",
@@ -20,24 +25,60 @@
2025
"parser",
2126
"gprmc"
2227
],
23-
"author": "Leonardo Gatica <lgatica@protonmail.com> (https://about.me/lgaticaq)",
28+
"author": "Leonardo Gatica <lgatica@protonmail.com> (https://about.me/lgatica)",
2429
"license": "MIT",
2530
"bugs": {
2631
"url": "https://github.com/lgaticaq/node-nmea/issues"
2732
},
2833
"homepage": "https://github.com/lgaticaq/node-nmea#readme",
34+
"dependencies": {
35+
"chance": "^0.8.0",
36+
"moment": "^2.11.2",
37+
"pad": "^1.0.0",
38+
"xregexp": "^3.0.0"
39+
},
2940
"devDependencies": {
30-
"babel": "^5.8.23",
31-
"eslint": "^1.2.1",
32-
"mocha": "^2.2.5",
33-
"rimraf": "^2.4.3"
41+
"babel-cli": "^6.4.0",
42+
"babel-core": "^6.4.0",
43+
"babel-preset-es2015": "^6.3.13",
44+
"chai": "^3.4.1",
45+
"eslint": "^1.10.3",
46+
"mocha": "^2.4.5",
47+
"rimraf": "^2.5.1"
3448
},
35-
"dependencies": {
36-
"chance": "^0.7.6",
37-
"moment": "^2.10.6",
38-
"xregexp": "^2.0.0"
49+
"eslintConfig": {
50+
"rules": {
51+
"indent": [
52+
2,
53+
2
54+
],
55+
"quotes": [
56+
2,
57+
"single"
58+
],
59+
"linebreak-style": [
60+
2,
61+
"unix"
62+
],
63+
"semi": [
64+
2,
65+
"always"
66+
]
67+
},
68+
"ecmaFeatures": {
69+
"modules": true
70+
},
71+
"env": {
72+
"es6": true,
73+
"node": true,
74+
"mocha": true
75+
},
76+
"extends": "eslint:recommended"
3977
},
40-
"engines": {
41-
"node": ">=0.10.0"
42-
}
78+
"babel": {
79+
"presets": [
80+
"es2015"
81+
]
82+
},
83+
"tonicExampleFilename": "example.js"
4384
}

0 commit comments

Comments
 (0)