@luisiseverywhere/ocpp-schema-types
Version:
A project which uses official ocpp schema data (provided by OCA) and generates the types for request and responses of each occp command
44 lines (43 loc) • 1.54 kB
JSON
{
"name": "@luisiseverywhere/ocpp-schema-types",
"version": "2.1.0",
"description": "A project which uses official ocpp schema data (provided by OCA) and generates the types for request and responses of each occp command",
"main": "",
"scripts": {
"build:types": "json2ts -i ./src/ocpp1.6/schemas -o ./src/ocpp1.6/types",
"build:commands": "node schema2command.js",
"prebuild": "rm -rf ./build && npm install && npm run build:types && npm run build:commands",
"copy:schemas": "cp -R ./src/ocpp1.6/schemas ocpp-commands.d.ts ./build",
"copy:types": "cp -R ./src/ocpp1.6/types ./build",
"copy:assets": "cp package.json README.md ./build",
"build": "mkdir build && npm run copy:schemas && npm run copy:types && npm run copy:assets",
"npm:publish": "cd ./build && npm install && npm publish --access public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/luisiseverywhere/ocpp-shema-types.git"
},
"keywords": [
"ocpp",
"ocpp1.6",
"ocpp schema",
"ocpp schemas",
"ocpp types",
"ocpp1.6 schema",
"ocpp1.6 schemas",
"ocpp1.6 types",
"ocpp schema to type",
"ocpp schemas to types",
"ocpp1.6 schema to type",
"ocpp1.6 schemas to types"
],
"author": "Luis Teixeira",
"license": "ISC",
"bugs": {
"url": "https://github.com/luisiseverywhere/ocpp-shema-types/issues"
},
"homepage": "https://github.com/luisiseverywhere/ocpp-shema-types#readme",
"devDependencies": {
"json-schema-to-typescript": "^10.0.0"
}
}