speculate
Version:
Automatically generates an RPM Spec file for your Node.js project
18 lines (17 loc) • 424 B
JSON
{
"name": "my-cool-api",
"version": "1.1.1",
"scripts": {
"start": "node index.js"
},
"description": "My Cool API",
"main": "index.js",
"author": "bob@example.com",
"license": "MIT",
"spec": {
"post": [
"mv /usr/lib/my-cool-api/rc.local /etc/rc.local",
"find /etc/bake-scripts/application -maxdepth 1 -type f ! \\( -name \"*.pyc\" -or -name '*.pyo' \\) -exec chmod +x {} +"
]
}
}