Files
OpenBK7231T_App/package.json
btsimonh f499e0e321 add getcommands.js
This reads all .c files and searches for command registration.
It then creates a 'commands.md' file.
We could make it prettier - it's an example at the moment.
to run:
npm run getcommands
or
node scripts/getcommands.js

(cherry picked from commit aaa6cece404dfc094771c29d834e7c856a27e852)
2022-11-13 09:30:50 +00:00

30 lines
739 B
JSON

{
"name": "obk-builder",
"version": "1.0.0",
"description": "Gulp based script content builder",
"main": "gulpfile.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"getcommands": "node scripts/getcommands.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/openshwprojects/OpenBK7231T_App.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/openshwprojects/OpenBK7231T_App/issues"
},
"homepage": "https://github.com/openshwprojects/OpenBK7231T_App#readme",
"devDependencies": {
"gulp": "^4.0.2",
"gulp-cssnano": "^2.1.3",
"gulp-gzip": "^1.4.2",
"gulp-rename": "^2.0.0",
"gulp-uglify": "^3.0.2",
"through2": "^4.0.2"
}
}