Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1) - OpenOCPP extracted (firmware OCPP 1.6J/2.0.1) - ShapeShifter library installed (pip install -e) - ShapeShifter specification extracted - EVerest extracted TODO updated with progress
This commit is contained in:
63
tools/citrineos-core-main/apps/Server/package.json
Executable file
63
tools/citrineos-core-main/apps/Server/package.json
Executable file
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"name": "@citrineos/server",
|
||||
"version": "2.0.0-alpha2",
|
||||
"description": "The OCPP server implementation which acts right on top of an asynchronous WebSocket.",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"clean": "rm -rf dist/* tsconfig.tsbuildinfo",
|
||||
"fresh": "rm -rf node_modules pnpm-lock.yaml && pnpm run clean",
|
||||
"compile": "pnpm run clean && tsc -p tsconfig.json && tsc -p tsconfig.migrations.json",
|
||||
"build": "tsc -b tsconfig.json && tsc -p tsconfig.migrations.json && pnpm run copy-assets",
|
||||
"copy-assets": "ts-node ./copy-assets.ts ./src/assets ./dist/assets",
|
||||
"start": "cross-env APP_NAME=all APP_ENV=local BOOTSTRAP_CITRINEOS_CONFIG_FILENAME=config.json BOOTSTRAP_CITRINEOS_FILE_ACCESS_TYPE=local BOOTSTRAP_CITRINEOS_FILE_ACCESS_LOCAL_DEFAULT_FILE_PATH=/data nodemon",
|
||||
"start:instance1": "cross-env APP_NAME=all APP_ENV=local BOOTSTRAP_INSTANCE1_CONFIG_FILENAME=config.json BOOTSTRAP_INSTANCE1_FILE_ACCESS_TYPE=local BOOTSTRAP_INSTANCE1_FILE_ACCESS_LOCAL_DEFAULT_FILE_PATH=/data nodemon --require dist/index.js --env-prefix=instance1_",
|
||||
"start:instance2": "cross-env APP_NAME=all APP_ENV=local BOOTSTRAP_INSTANCE2_CONFIG_FILENAME=config.json BOOTSTRAP_INSTANCE2_FILE_ACCESS_TYPE=local BOOTSTRAP_INSTANCE2_FILE_ACCESS_LOCAL_DEFAULT_FILE_PATH=/data nodemon --require dist/index.js --env-prefix=instance2_",
|
||||
"start-docker": "nodemon",
|
||||
"start-docker-cloud": "node --inspect=0.0.0.0:9229 ./dist/index.js",
|
||||
"start-everest": "cd ./everest && cross-env OCPP_VERSION=2.1 EVEREST_IMAGE_TAG=2025.6.1-dt-esdp docker compose up -d",
|
||||
"start-everest-16": "cd ./everest && cross-env OCPP_VERSION=1.6 EVEREST_IMAGE_TAG=2025.6.1-dt-esdp docker compose up -d",
|
||||
"migrate": "pnpm exec sequelize-cli db:migrate --debug && echo migration completed successfully",
|
||||
"lint": "eslint .",
|
||||
"lint-fix": "eslint . --fix"
|
||||
},
|
||||
"keywords": [
|
||||
"ocpp",
|
||||
"ocpp_v201"
|
||||
],
|
||||
"author": "S44",
|
||||
"license": "Apache-2.0",
|
||||
"devDependencies": {
|
||||
"@eslint/js": "catalog:",
|
||||
"@fastify/type-provider-json-schema-to-ts": "4.0.1",
|
||||
"@types/amqplib": "0.10.1",
|
||||
"@types/ws": "8.5.4",
|
||||
"eslint": "catalog:",
|
||||
"eslint-config-prettier": "catalog:",
|
||||
"eslint-plugin-prettier": "catalog:",
|
||||
"nodemon": "3.1.14",
|
||||
"sequelize": "^6.37.0",
|
||||
"sequelize-typescript": "2.1.6",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript-eslint": "catalog:"
|
||||
},
|
||||
"dependencies": {
|
||||
"@citrineos/base": "workspace:*",
|
||||
"@citrineos/core": "workspace:*",
|
||||
"@fastify/cors": "10.1.0",
|
||||
"cross-env": "7.0.3",
|
||||
"fastify": "^5.8.5",
|
||||
"tslog": "^4.9.2",
|
||||
"sqlite3": "5.1.7",
|
||||
"ws": "8.20.1"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"bufferutil": "4.0.8",
|
||||
"utf-8-validate": "6.0.6"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user