1.0.1 • Published 5 years ago

@alamansky/extropy v1.0.1

Weekly downloads
2
License
ISC
Repository
-
Last release
5 years ago

Boilermaker

Boilerplate made easy.

steps:

  1. npm init
  2. Add the following to package.json's scripts section:

    • If env is browser:
    "scripts": {
    		"test": "echo \"Error: no test specified\" && exit 1",
    		"start": "npx webpack-dev-server --mode development --config webpack.config.js --hot --history-api-fallback --host 0.0.0.0"
    	},
    • If env is node:
    "scripts": {
    		"test": "echo \"Error: no test specified\" && exit 1",
    		"start": "npx nodemon index.js"
    	},
  3. Run ./init.sh and follow the prompts

  4. To use quokka.js on a file in browser env, add the following snippet to the top of the file:
//Quokka config - must be used on per-file basis
({
	babel: true,
	plugins: ['jsdom-quokka-plugin'],
});
1.0.1

5 years ago

1.0.0

5 years ago