0.2.14 • Published 3 years ago

create-p5jsboiler v0.2.14

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

create-p5jsBoiler

Initialise an instance of a stand alone p5js project mirroring:

npx create-p5jsboiler app-name
cd app-name

It will create a directory called app-name inside the current folder. Inside that directory, it will generate the initial project structure.

app-name
├── README.md
├── _require.js
├── fileScraper.js
├── index.html
├── package.json
├── src
    ├── images
        └── p5jsBoiler.ico
    └── css
        └── style.css
└── src
    ├── classes
        └── demo.js
    └── scripts
        ├── index.js
        └── initialise.js
  • Run npm run build after creating new script files to create/remake the _requre.js file that will import the files from your src folder into index.html on load.

  • setup and draw functions both found in ./src/scripts/index.js.

  • Set buildMainFile to true in the package.json to create a main.js file housing all code in the project at the time of npm run build.

0.2.14

3 years ago

0.2.13

3 years ago

0.2.12

3 years ago

0.2.11

3 years ago

0.2.10

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.18

3 years ago

0.1.17

3 years ago

0.1.16

3 years ago

0.1.15

3 years ago

0.1.14

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago