Tram-One Express is a generator for building tram-one applications.
To use tram-one-express, run using npx
, and pass the app-name of what project you want to create:
$ npx tram-one-express app-name
This will create a directory in your current directory with the name that you pass into tram-one-express.
The scaffolded project includes a bare-bones setup that has all the tooling required to get started building! See https://github.com/Tram-One/tram-one-express/tree/master-tram-one-example to see what the project looks like, or try it live with codesandbox projects here: https://codesandbox.io/p/github/Tram-One/tram-one-express/master-tram-one-example
Below are a list of commands used for developement. The logic for all the commands are in the local package.json
npm run generate-example
- alias forexample-generate
npm run example-generate
- creates an example app and installs dependencies in the examplenpm run example-build
- runsnpm run build
in the example projectnpm run example-test
- runs the test suite for the example appnpm run ci-run
- runs all the commands in the order that circleci would trigger them, one automatically after the other