forked from FIWARE/data-models
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.23 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "fiware-model-validator",
"version": "0.5.1",
"description": "A simple validator for FIWARE Data Models",
"keywords": [
"node",
"fiware",
"datamodel",
"validator",
"ngsi"
],
"license": "MIT",
"author": "Federico Facca <name.surname@martel-innovate.com> (https://martel-innovate.com)",
"contributors": [
"N/A"
],
"main": "validate.js",
"bin": {
"validate": "./validate.js"
},
"repository": {
"type": "git",
"url": "https://github.com/Fiware/dataModels"
},
"dependencies": {
"nconf": "^0.10.0",
"request": "^2.81.0",
"glob": "^7.0.3",
"ajv": "^6.10.0",
"debug": "^4.0.1",
"ngsi_v2": "0.2.1",
"deasync": "0.1.13"
},
"devDependencies": {
"eslint": "^5.6.0",
"eslint-config-tamia": "^6.0.1",
"eslint-plugin-prettier": "^3.0.0",
"husky": "^1.1.0",
"jest": "^24.8.0",
"lint-staged": "^7.3.0",
"memfs": "2.10.1",
"prettier": "^1.14.2",
"remark-cli": "^6.0.1",
"remark-preset-lint-recommended": "^3.0.2",
"textlint": "^11.2.5",
"textlint-filter-rule-comments": "^1.2.2",
"textlint-rule-common-misspellings": "^1.0.1",
"textlint-rule-no-dead-link": "^4.4.1",
"textlint-rule-terminology": "^1.1.29",
"textlint-rule-write-good": "^1.6.2"
},
"engines": {
"node": ">=8.6"
},
"scripts": {
"lint": "eslint . --cache --fix",
"lint:text": "textlint '../README.md' 'README.md' '../specs/*.md' '../specs/**/*.md'",
"lint:md": "remark -f 'README.md' '../specs'",
"precommit": "lint-staged",
"prettier": "prettier --single-quote --trailing-comma es5 --write **/*.js *.js ../specs/**/*.json ../specs/**/**/*.json",
"prettier:text": "prettier '../*.md' '../specs/*.md' '../specs/**/*.md' --tab-width 4 --print-width 80 --write --prose-wrap always",
"start": "mkdocs serve",
"test": "textlint '../README.md' 'README.md' '../specs/*.md' '../specs/**/*.md'"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --parser flow --single-quote --trailing-comma es5 --write",
"git add"
],
"^[example|schema]*.json": [
"prettier --parser flow --single-quote --trailing-comma es5 --write",
"git add"
],
"*.md": [
"prettier --tab-width 4 --print-width 80 --write --prose-wrap always",
"git add"
]
}
}