-
Notifications
You must be signed in to change notification settings - Fork 69
/
package.json
65 lines (65 loc) · 2.78 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "@signalk/signalk-schema",
"version": "1.7.2",
"description": "SignalK specification schema as an npm module with tests",
"main": "dist/index.js",
"scripts": {
"test": "babel src --out-dir dist --copy-files && mocha",
"prepublish": "npm run docs:keys && npm run js:dist",
"js:watch": "babel --watch src --out-dir dist --copy-files",
"js:dist": "babel src --out-dir dist --copy-files",
"schema:version": "cross-var replace-in-file /https:\\\\/\\\\/signalk.org\\\\/specification\\\\/[\\\\w\\\\.]+\\\\/schemas\\\\//g https://signalk.org/specification/$npm_package_version/schemas/ './**/*.j*' --ignore=./package.json,./node_modules/** --isRegex --verbose",
"schema:publish": "git checkout gh-pages && git checkout master -- schemas && cross-var mkdir -p $npm_package_version && cross-var git add $npm_package_version && cross-var git mv schemas/ $npm_package_version/ && git commit -m \"Schemas from master\" && git push",
"docs:prep": "cross-var replace-in-file /_version_/g $npm_package_version ./mdbook/src/* --isRegex --verbose && mdprepare mdbook/src/*.md",
"docs:keys": "node scripts/processSchemaFiles.js",
"docs:html": "cross-var docker-compose -f mdbook/docker-compose.yml run mdbook build -d $npm_package_version/doc",
"docs:serve": "docker-compose -f mdbook/docker-compose.yml up",
"docs:all": "npm run docs:prep && npm run docs:keys && npm run docs:html",
"docs:publish-local-gh-pages": "npm run docs:all && mv mdbook/$npm_package_version . && cross-var git add $npm_package_version && git stash && git checkout gh-pages && git pull && cross-var git checkout stash -- $npm_package_version && git add master && cross-var git commit --allow-empty -m $npm_package_version"
},
"repository": {
"type": "git",
"url": "https://github.com/SignalK/specification.git"
},
"keywords": [
"signalk",
"nmea",
"marine",
"navigation",
"n2k",
"nmea200"
],
"author": "SignalK group",
"license": "CC-BY-SA-2.0",
"bugs": {
"url": "https://github.com/SignalK/specification/issues"
},
"bin": {
"signalk-validate-full": "bin/validate.js"
},
"homepage": "https://github.com/SignalK/specification",
"dependencies": {
"JSONStream": "^0.7.4",
"debug": "^4.3.1",
"@apidevtools/json-schema-ref-parser": "^9.1.0",
"lodash": "^4.17.21",
"tv4": "^1.2.7",
"tv4-formats": "^3.0.3"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"chai": "^1.9.2",
"cross-var": "1.1.0",
"fsnip": "^0.9.5",
"github-changes": "^1.0.4",
"infuse.js": "^2.0.2",
"markdown-it": "^8.0.0",
"mdprepare": "^0.9.3",
"mocha": "^2.1.0",
"mz": "^2.4.0",
"replace-in-file": "^3.1.0",
"rimraf": "^2.5.4"
},
"funding": "https://opencollective.com/signalk"
}