Build with Pear - Episode 04: Pear Terminal Applications
First create a new project using pear init --type terminal.
pear init --type terminal
This creates the base project structure.
package.json. App configuration. Notice the pear property.
package.json
pear
index.js. App entrypoint.
index.js
test/index.test.js. Test skeleton.
test/index.test.js
Use pear run to see that it works.
pear run
A directory or link needs to be specified with pear run, here . denotes the current Project directory.
.
The app will now run. That's all there is to getting a Pear Terminal project started.
Making a Pear Terminal Application
Last updated 1 year ago
mkdir chat-app cd chat-app pear init --yes --type terminal
pear run --dev .