Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oresoftware/gitflow.tools
Command line tools for standard Git-flow ops/workflow.
https://github.com/oresoftware/gitflow.tools
git git-flow gitflow gitflow-workflow nvie
Last synced: 27 days ago
JSON representation
Command line tools for standard Git-flow ops/workflow.
- Host: GitHub
- URL: https://github.com/oresoftware/gitflow.tools
- Owner: ORESoftware
- License: mit
- Created: 2018-07-06T19:03:03.000Z (over 6 years ago)
- Default Branch: dev
- Last Pushed: 2018-11-02T22:59:10.000Z (about 6 years ago)
- Last Synced: 2023-03-28T21:06:35.497Z (almost 2 years ago)
- Topics: git, git-flow, gitflow, gitflow-workflow, nvie
- Language: Shell
- Homepage:
- Size: 83 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
## TSLS - TypeScript Library Skeleton
Travis build status:
[![Build Status](https://travis-ci.org/ORESoftware/typescript-library-skeleton.svg?branch=master)](https://travis-ci.org/ORESoftware/typescript-library-skeleton)
CircleCI build status:
[![CircleCI](https://circleci.com/gh/ORESoftware/typescript-library-skeleton/tree/master.svg?style=svg)](https://circleci.com/gh/ORESoftware/typescript-library-skeleton/tree/master)
# Your Project Readme Goes HereThis project is used by:
https://github.com/oresoftware/ts-project
You can use ts-project to do things more automatically.To do things more manually, continue on.
Steps to making this project skeleton your own project base.
1. Clone this repo:
`git clone https://github.com/ORESoftware/typescript-library-skeleton.git YOUR-PROJECT-NAME`
2. Update package.json so that `name` property matches `YOUR-PROJECT-NAME`.
3. Update other package.json fields so that they are accurate.To check to see if `YOUR-PROJECT-NAME` is available on NPM, uses this command at the command line:
`$ npm view YOUR-PROJECT-NAME` # will give you a 404 if the name is available.
### This project skeleton uses:
* the correct semver initial value (npm init defaults to 1.0.0 which is just wrong).
* typescript 2.9.x
* nodejs version 10
* travis/circleci (for automated testing of your library)
* MIT license
* good simple default settings for .gitignore / .npmignore / .editorconfig / .gitattributes
* Transpiling from src to dist folders (by default; you can change it manually)To transpile files in place, instead of tranpiling from `'src'` to `'dist'`:
update tsconfig.json (remove the `outDir` line):```json
"compilerOptions": {
"outDir": "dist"
}
```For small projects with just one .ts/.js file, you can just get rid of the src/lib folder, and put your index.ts
file in the root of the project. In that case, make sure to change the `main` property in package.json from 'lib/index.js' to
'index.js'. Same with the `typings/types` properties.