[![NPM version](https//www.npmjs.com/package/@abernier/create-sandbox)
It's codesandox but as a local command-line!
Command to create a standard CRA, but:
src/App.js
[3000..4000]
to launch the localhost hot-reload serverThe following command will create a new random-name-2345
project into .
$ npm init @abernier/sandbox
or
$ yarn create @abernier/sandbox
$ npm init @abernier/sandbox ~/tmp
A random-name-2345
will be created inside ~/tmp
and your CRA created into.
$ npm init @abernier/sandbox ~/code/rosie
A rosie
folder will be created and your CRA created into.
NB: no random name here as you specify a non-existing folder name
npx
Alternatively to you could just:
$ npx @abernier/create-sandbox
but this is less cool
Ready to publish a new version to NPM registry?
package.json
versionnpm login
if not alreadynpm publish
If successful, you should want to tag the version:
$ git add package.json
$ git commit -m "bump version"
$ git tag v1.0.1
$ git push --tags
Pre-requisite:
NPM_TOKEN
secret (in Settings > Secrets
and as referenced into ci.yml
file)Then, to release a new version on npm:
package.json
version