https://github.com/edtoken/clean-typescript-pkg
https://github.com/edtoken/clean-typescript-pkg
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/edtoken/clean-typescript-pkg
- Owner: edtoken
- License: mit
- Created: 2019-05-28T11:41:55.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T23:14:28.000Z (over 3 years ago)
- Last Synced: 2025-01-02T17:33:07.383Z (over 1 year ago)
- Language: TypeScript
- Size: 408 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# How to publish the javascript package on the npm
[](https://www.npmjs.com/package/@edtoken/clean-typescript-pkg) [](https://travis-ci.org/edtoken/clean-typescript-pkg) [](https://codeclimate.com/github/edtoken/clean-typescript-pkg/maintainability)
> DESCRIPTION
See [CodeSandbox usage](CODESANDBOX LINK)
## Features
- tests
- travis deploy
- dotenv
## Usage
##### 1. Copy the package
Clone the repo
```
git clone git clone git@github.com:edtoken/clean-js-pkg.git
```
Please! Do not add the .env file to the GIT, it's local file, for local development/common builds
##### 2. Update `travis` configuration
Update the `.travis.yml` file, replace the `email` and `repo`
##### 3. Update `package.json`
Update `name`, `description`, `repository`, `author`, and `licenses`
##### 4. Update `travis` environment, Add NPM_TOKEN value.
To able, to deploy the npm package from the `travis`
you should add the environment variable `NPM_TOKEN` in the travis UI.
##### 5. Publish
## Other examples
See the Main article [Build and publish your NPM package](https://github.com/edtoken/build-and-publish-npm)
## Other examples
See the Main article [Build and publish your NPM package](https://github.com/edtoken/build-and-publish-npm)
- [Clean JS](https://github.com/edtoken/clean-js-pkg) [](https://www.npmjs.com/package/@edtoken/clean-js-pkg) [](https://travis-ci.org/edtoken/clean-js-pkg) [](https://codeclimate.com/github/edtoken/clean-js-pkg/maintainability) [](https://github.com/edtoken/clean-js-pkg)
- [Clean JS + Parcel](https://github.com/edtoken/clean-js-parcel-pkg) [](https://www.npmjs.com/package/@edtoken/clean-js-parcel-pkg) [](https://travis-ci.org/edtoken/clean-js-parcel-pkg) [](https://codeclimate.com/github/edtoken/clean-js-parcel-pkg/maintainability) [](https://github.com/edtoken/clean-js-parcel-pkg)
- [Clean JS + Webpack](https://github.com/edtoken/clean-js-webpack-pkg) [](https://www.npmjs.com/package/@edtoken/clean-js-webpack-pkg) [](https://travis-ci.org/edtoken/clean-js-webpack-pkg) [](https://codeclimate.com/github/edtoken/clean-js-webpack-pkg/maintainability) [](https://github.com/edtoken/clean-js-webpack-pkg)
- [Clean TypeScript](https://github.com/edtoken/clean-typescript-pkg) [](https://www.npmjs.com/package/@edtoken/clean-typescript-pkg) [](https://travis-ci.org/edtoken/clean-typescript-pkg) [](https://codeclimate.com/github/edtoken/clean-typescript-pkg/maintainability) [](https://github.com/edtoken/clean-typescript-pkg)
- [Clean Vue](https://github.com/edtoken/clean-vue-pkg) [](https://www.npmjs.com/package/@edtoken/clean-vue-pkg) [](https://travis-ci.org/edtoken/clean-vue-pkg) [](https://codeclimate.com/github/edtoken/clean-vue-pkg/maintainability) [](https://github.com/edtoken/clean-vue-pkg)
- [Clean React](https://github.com/edtoken/clean-react-pkg) [](https://www.npmjs.com/package/@edtoken/clean-react-pkg) [](https://travis-ci.org/edtoken/clean-react-pkg) [](https://codeclimate.com/github/edtoken/clean-react-pkg/maintainability) [](https://github.com/edtoken/clean-react-pkg)
- [Vue + vue-cli](https://github.com/edtoken/clean-vue-cli-pkg) [](https://www.npmjs.com/package/@edtoken/clean-vue-cli-pkg) [](https://travis-ci.org/edtoken/clean-vue-cli-pkg) [](https://codeclimate.com/github/edtoken/clean-vue-cli-pkg/maintainability) [](https://github.com/edtoken/clean-vue-cli-pkg)
- [Vue + TypeScript](https://github.com/edtoken/clean-vue-typescript-pkg) [](https://www.npmjs.com/package/@edtoken/clean-vue-typescript-pkg) [](https://travis-ci.org/edtoken/clean-vue-typescript-pkg) [](https://codeclimate.com/github/edtoken/clean-vue-typescript-pkg/maintainability) [](https://github.com/edtoken/clean-vue-typescript-pkg)
- [React + create-react-app](https://github.com/edtoken/clean-react-cra-pkg) [](https://www.npmjs.com/package/@edtoken/clean-react-cra-pkg) [](https://travis-ci.org/edtoken/clean-react-cra-pkg) [](https://codeclimate.com/github/edtoken/clean-react-cra-pkg/maintainability) [](https://github.com/edtoken/clean-react-cra-pkg)
- [React + TypeScript](https://github.com/edtoken/clean-react-typescript-pkg) [](https://www.npmjs.com/package/@edtoken/clean-react-typescript-pkg) [](https://travis-ci.org/edtoken/clean-react-typescript-pkg) [](https://codeclimate.com/github/edtoken/clean-react-typescript-pkg/maintainability) [](https://github.com/edtoken/clean-react-typescript-pkg)