UNPKG

oma-json

Version:

JSON schemas description from LwM2M [Open Mobile Alliance](http://www.openmobilealliance.org/wp/OMNA/LwM2M/LwM2MRegistry.html)

84 lines (83 loc) 1.82 kB
{ "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" }