Tooling for Hadron apps.
Configuration
{
"config": {
"hadron": {
"build": {
"win32": {
"icon": "resources/win32/<your-project-id>.ico",
"favicon_url": "https://raw.githubusercontent.com/mongodb-js/favicon/master/favicon.ico",
"loading_gif": "resources/win32/loading.gif"
},
"darwin": {
"icon": "resources/darwin/<your-project-id>.icns",
"dmg_background": "resources/darwin/background.png",
"codesign_identity": "Developer ID Application: <your-name> (<your-apple-developer-id>)",
"codesign_sha1": "<your-certs-sha1>",
"app_bundle_id": "com.<your-company>.<your-project-id>",
"app_category_type": "public.app-category.productivity"
}
},
"endpoint": "<hadron-endpoint-server-url>"
}
},
"scripts": {
"check": "hadron-build check",
"ci": "npm run test",
"clean": "hadron-build clean",
"compile-ui": "hadron-build ui",
"fmt": "hadron-build fmt",
"postuninstall": "hadron-build clean",
"release": "hadron-build release",
"start": "hadron-build develop",
"test": "hadron-build test",
"test-functional": "npm test -- --functional",
"test-unit": "npm test -- --unit",
"test-release": "npm test -- --release"
}
}
Todo
- Tests for
release
command railcars
commandcheck
command -> mongodb-js-precommit
fmt
command -> mongodb-js-fmt
- Make
test
use xvfb-maybe
by default
License
Apache 2.0