wapplr-cli v1.0.60
Wapplr-cli
This module can handle the development of Wapplr, and facilitates the creation and build of end-user applications. These wonderful packages have inspired us, so there are many similarities with them:
Installation
npm install -g wapplr-cliUsage
npx wapplr-cli creates src/my-packageFunctions
creates
This command creates a new Wapplr package with my-package name to the path/to/src/my-package folder:
npx wapplr-cli creates path/to/src/my-packageThis command creates a new Wapplr package with my-package name to the my-folder folder:
npx wapplr-cli creates my-package --root-path my-folderThis command creates a new Wapplr package with my-package name to the current folder.
npx wapplr-cli creates my-packagestart
This command creates a startable instance inside to the current directory to the ./run folder from ./src folder.
Then it runs that, and the browser will open.
npx wapplr-cli startbuild
This command creates a startable instance inside to the current directory to the ./run folder from ./src folder.
And it creates a distribution to the ./dist folder
npx wapplr-cli buildclean
This command deletes all files createsd by wapplr-cli except wapplr.json.
npx wapplr-cli cleanwapplr.json
All commands create the descriptive file, what contain those properties. It is needed to wapplr-cli can recognize the Wapplr packages.
{
"time": "2021-01-01T00:00:00.488Z",
"runScript": "build",
"packageName": "wapplr",
"buildHash": "eekrlp",
"paths": {
"rootPath": "your\\path\\src\\wapplr",
"buildToolsPath": "your\\path\\node_modules\\wapplr-cli",
"srcPath": "your\\path\\src\\wapplr\\src",
"buildPath": "your\\path\\src\\wapplr\\run",
"distPath": "your\\path\\src\\wapplr\\dist",
"templateDirectory": "your\\path\\node_modules\\wapplr-cli\\wapplr-template"
},
"argv": [
"build"
]
}License
MIT
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago