https://github.com/horacehylee/starter-cli-typescript
Cli starter kit using Typescript and Webpack
https://github.com/horacehylee/starter-cli-typescript
Last synced: over 1 year ago
JSON representation
Cli starter kit using Typescript and Webpack
- Host: GitHub
- URL: https://github.com/horacehylee/starter-cli-typescript
- Owner: horacehylee
- License: mit
- Created: 2017-12-21T14:30:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-12T07:01:20.000Z (over 8 years ago)
- Last Synced: 2025-01-24T08:43:43.121Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 103 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cli Starter Typescript
## Usage
```
# --depth 1 removes all but one .git commit history
git clone --depth=1 https://github.com/horacehylee/starter-cli-typescript.git
# change directory to your project folder
cd
# remove .git folder
rm -r .git
# development
npm run serve
# build
npm run build
# test
npm run test
```
## Change tool name
```typescript
// src/index.ts
const scriptName = "__tool_name__";
```
```js
//
{
"name": "starter-cli-typescript",
...
"bin": {
"__tool_name__": "./build/main.js"
},
}
```
## License
MIT © [Horace Lee](https://github.com/horacehylee)