-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 1.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "oma-json",
"version": "1.1.4",
"description": "",
"main": "./src/index.js",
"scripts": {
"lint": "npx eslint --ext js .",
"test:objects": "node tests/omaObjects.js",
"test:resources": "node tests/omaResources.js",
"test:views": "node tests/omaViews.js",
"test": "npm run test:objects; npm run test:resources; npm run test:views",
"generate:openapi": "node utils/modelsToOpenApi.js",
"generate:interfaces": "node utils/openApiToInterfaces.js",
"generate": "npm run generate:openapi ; npm run generate:interfaces"
},
"pre-commit": {
"run": [
"lint",
"test",
"generate"
],
"silent": false
},
"files": [
"dist/*",
"src/*",
"types/*",
"interfaces/*",
"*.json",
"*.js",
"*.md"
],
"author": "Edouard Maleix <ed@getlarge.eu> (https://getlarge.eu)",
"contributors": [
"Edouard Maleix <ed@getlarge.eu> (https://getlarge.eu)"
],
"keywords": [
"IoT",
"OMA",
"Interoperability"
],
"license": "ISC",
"devDependencies": {
"eslint": "^7.0.0",
"ibm-openapi-validator": "^0.26.1",
"json-schema-to-typescript": "^8.2.0",
"lodash": "^4.17.19",
"pre-commit": "^1.2.2",
"prettier": "2.0.4"
},
"prettier": {
"bracketSpacing": false,
"singleQuote": true,
"printWidth": 80,
"trailingComma": "all"
},
"prettierIgnore": [
"/dist/",
"/node_modules/"
],
"eslintConfig": {
"root": true,
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2018
},
"globals": {
"require": true
}
},
"eslintIgnore": [
"/dist/",
"/node_modules/"
],
"repository": {
"type": "git",
"url": "https://framagit.org/aloes/oma-json"
},
"types": "types/index.d.ts"
}