https://github.com/alanwei43/node-scaffold-scripts
Node Scaffold Scripts - Node脚手架脚本
https://github.com/alanwei43/node-scaffold-scripts
boilerplate javascript node nodejs scaffold script
Last synced: 7 months ago
JSON representation
Node Scaffold Scripts - Node脚手架脚本
- Host: GitHub
- URL: https://github.com/alanwei43/node-scaffold-scripts
- Owner: alanwei43
- Created: 2019-05-25T09:36:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T05:47:23.000Z (about 3 years ago)
- Last Synced: 2025-07-04T18:55:13.625Z (7 months ago)
- Topics: boilerplate, javascript, node, nodejs, scaffold, script
- Language: TypeScript
- Homepage:
- Size: 472 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JavaScriptBoilerplates
JavaScript App Boilerplates
JavaScript 脚手架脚本
## Node ShellJS App
```shell
# download script to local
curl https://raw.githubusercontent.com/Allen-Wei/JavaScriptBoilerplates/master/dist/release/shelljs.js -o shelljs.js
# show help
node ./shelljs.js
# create shelljs app to directory hello-world on current location
node ./shelljs.js --project-name helloworld --directory hello-world
```
## Create Gist Script
```shell
# download script to local
curl https://raw.githubusercontent.com/Allen-Wei/node-scaffold-scripts/master/dist/release/gist-create.js -o shelljs.js
# show help
node ./gist-create.js
# create private gist, contains two files
node ./gist-create.js --token your_token_value --description "test text" --files $(pwd)/README.md,/dir/file/path
# create public gist, all .js file in /some-dir
node ./gist-create.js --token your_token_value --public --directory /some-dir --recurisive --name-match "\.js$"
```