{"id":19074039,"url":"https://github.com/edtoken/clean-js-pkg","last_synced_at":"2026-05-17T02:02:20.548Z","repository":{"id":44219837,"uuid":"188673909","full_name":"edtoken/clean-js-pkg","owner":"edtoken","description":"Tiny Javascript package to help to configure the javascript package to deploy on the npm with travis","archived":false,"fork":false,"pushed_at":"2022-02-11T00:41:39.000Z","size":81,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T17:33:07.718Z","etag":null,"topics":["javascript","npm","npm-package","publish-npm","publish-npm-package","travis-ci","travis-ci-configuration","travis-config"],"latest_commit_sha":null,"homepage":"http://edtoken.github.io/build-and-publish-npm","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edtoken.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-26T11:23:56.000Z","updated_at":"2019-06-01T20:46:32.000Z","dependencies_parsed_at":"2022-08-27T19:24:47.118Z","dependency_job_id":null,"html_url":"https://github.com/edtoken/clean-js-pkg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edtoken%2Fclean-js-pkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edtoken%2Fclean-js-pkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edtoken%2Fclean-js-pkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edtoken%2Fclean-js-pkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edtoken","download_url":"https://codeload.github.com/edtoken/clean-js-pkg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240126614,"owners_count":19751933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","npm","npm-package","publish-npm","publish-npm-package","travis-ci","travis-ci-configuration","travis-config"],"created_at":"2024-11-09T01:49:28.465Z","updated_at":"2026-05-17T02:02:15.512Z","avatar_url":"https://github.com/edtoken.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to publish the javascript package on the npm with travis\n[![npm](https://img.shields.io/npm/v/@edtoken/clean-js-pkg.svg)](https://www.npmjs.com/package/@edtoken/clean-js-pkg) [![Build Status](https://travis-ci.org/edtoken/clean-js-pkg.svg?branch=master)](https://travis-ci.org/edtoken/clean-js-pkg) [![Maintainability](https://api.codeclimate.com/v1/badges/23d7cf2a79cd133121e3/maintainability)](https://codeclimate.com/github/edtoken/clean-js-pkg/maintainability)\n\n\u003e Tiny Javascript package to help to configure the javascript package  \n\u003e to deploy on the npm with travis\n\nSee [CodeSandbox usage](CODESANDBOX LINK)\n\n## Features\n- tests\n- travis deploy\n- dotenv\n\n## Usage\n\n##### 1. Copy the package\nClone the repo  \n```\ngit clone git clone git@github.com:edtoken/clean-js-pkg.git \n```  \n\nPlease! Do not add the .env file to the GIT, it's local file, for local development/common builds\n\n##### 2. Update `travis` configuration  \nUpdate the `.travis.yml` file, replace the `email` and `repo`\n\n##### 3. Update `package.json`  \nUpdate `name`, `description`, `repository`, `author`, and `licenses`\n\n##### 4. Update `travis` environment, Add SECURE_KEY value.  \nTo able, to deploy the npm package from the `travis`  \nyou should add the environment  variable `SECURE_KEY` in the travis UI.\n\n##### 5. Publish\n\n## Other examples\nSee the Main article [Build and publish your NPM package](https://github.com/edtoken/build-and-publish-npm)  \n\n- [Clean JS](https://github.com/edtoken/clean-js-pkg) [![npm](https://img.shields.io/npm/v/@edtoken/clean-js-pkg.svg)](https://www.npmjs.com/package/@edtoken/clean-js-pkg) [![Build Status](https://travis-ci.org/edtoken/clean-js-pkg.svg?branch=master)](https://travis-ci.org/edtoken/clean-js-pkg) [![Maintainability](https://api.codeclimate.com/v1/badges/23d7cf2a79cd133121e3/maintainability)](https://codeclimate.com/github/edtoken/clean-js-pkg/maintainability) [![stars](https://img.shields.io/github/stars/edtoken/clean-js-pkg.svg?style=social)](https://github.com/edtoken/clean-js-pkg)  \n- [Clean JS + Parcel](https://github.com/edtoken/clean-js-parcel-pkg) [![npm](https://img.shields.io/npm/v/@edtoken/clean-js-parcel-pkg.svg)](https://www.npmjs.com/package/@edtoken/clean-js-parcel-pkg) [![Build Status](https://travis-ci.org/edtoken/clean-js-parcel-pkg.svg?branch=master)](https://travis-ci.org/edtoken/clean-js-parcel-pkg) [![Maintainability](https://api.codeclimate.com/v1/badges/53c503f945c7f2078f09/maintainability)](https://codeclimate.com/github/edtoken/clean-js-parcel-pkg/maintainability) [![stars](https://img.shields.io/github/stars/edtoken/clean-js-parcel-pkg.svg?style=social)](https://github.com/edtoken/clean-js-parcel-pkg)\n- [Clean JS + Webpack](https://github.com/edtoken/clean-js-webpack-pkg) [![npm](https://img.shields.io/npm/v/@edtoken/clean-js-webpack-pkg.svg)](https://www.npmjs.com/package/@edtoken/clean-js-webpack-pkg) [![Build Status](https://travis-ci.org/edtoken/clean-js-webpack-pkg.svg?branch=master)](https://travis-ci.org/edtoken/clean-js-webpack-pkg) [![Maintainability](https://api.codeclimate.com/v1/badges/7d803c5e1ddbed85bec8/maintainability)](https://codeclimate.com/github/edtoken/clean-js-webpack-pkg/maintainability) [![stars](https://img.shields.io/github/stars/edtoken/clean-js-webpack-pkg.svg?style=social)](https://github.com/edtoken/clean-js-webpack-pkg)\n- [Clean TypeScript](https://github.com/edtoken/clean-typescript-pkg) [![npm](https://img.shields.io/npm/v/@edtoken/clean-typescript-pkg.svg)](https://www.npmjs.com/package/@edtoken/clean-typescript-pkg) [![Build Status](https://travis-ci.org/edtoken/clean-typescript-pkg.svg?branch=master)](https://travis-ci.org/edtoken/clean-typescript-pkg) [![Maintainability](https://api.codeclimate.com/v1/badges/4bd52c0ef1b15fb9996d/maintainability)](https://codeclimate.com/github/edtoken/clean-typescript-pkg/maintainability) [![stars](https://img.shields.io/github/stars/edtoken/clean-typescript-pkg.svg?style=social)](https://github.com/edtoken/clean-typescript-pkg)\n- [Clean Vue](https://github.com/edtoken/clean-vue-pkg) [![npm](https://img.shields.io/npm/v/@edtoken/clean-vue-pkg.svg)](https://www.npmjs.com/package/@edtoken/clean-vue-pkg) [![Build Status](https://travis-ci.org/edtoken/clean-vue-pkg.svg?branch=master)](https://travis-ci.org/edtoken/clean-vue-pkg) [![Maintainability](https://api.codeclimate.com/v1/badges/HASH_XXX/maintainability)](https://codeclimate.com/github/edtoken/clean-vue-pkg/maintainability) [![stars](https://img.shields.io/github/stars/edtoken/clean-vue-pkg.svg?style=social)](https://github.com/edtoken/clean-vue-pkg)\n- [Clean React](https://github.com/edtoken/clean-react-pkg) [![npm](https://img.shields.io/npm/v/@edtoken/clean-react-pkg.svg)](https://www.npmjs.com/package/@edtoken/clean-react-pkg) [![Build Status](https://travis-ci.org/edtoken/clean-react-pkg.svg?branch=master)](https://travis-ci.org/edtoken/clean-react-pkg) [![Maintainability](https://api.codeclimate.com/v1/badges/HASH_XXX/maintainability)](https://codeclimate.com/github/edtoken/clean-react-pkg/maintainability) [![stars](https://img.shields.io/github/stars/edtoken/clean-react-pkg.svg?style=social)](https://github.com/edtoken/clean-react-pkg)\n- [Vue + vue-cli](https://github.com/edtoken/clean-vue-cli-pkg) [![npm](https://img.shields.io/npm/v/@edtoken/clean-vue-cli-pkg.svg)](https://www.npmjs.com/package/@edtoken/clean-vue-cli-pkg) [![Build Status](https://travis-ci.org/edtoken/xxx.svg?branch=master)](https://travis-ci.org/edtoken/clean-vue-cli-pkg) [![Maintainability](https://api.codeclimate.com/v1/badges/HASH_XXX/maintainability)](https://codeclimate.com/github/edtoken/clean-vue-cli-pkg/maintainability) [![stars](https://img.shields.io/github/stars/edtoken/clean-vue-cli-pkg.svg?style=social)](https://github.com/edtoken/clean-vue-cli-pkg)\n- [Vue + TypeScript](https://github.com/edtoken/clean-vue-typescript-pkg) [![npm](https://img.shields.io/npm/v/@edtoken/clean-vue-typescript-pkg.svg)](https://www.npmjs.com/package/@edtoken/clean-vue-typescript-pkg) [![Build Status](https://travis-ci.org/edtoken/clean-vue-typescript-pkg.svg?branch=master)](https://travis-ci.org/edtoken/clean-vue-typescript-pkg) [![Maintainability](https://api.codeclimate.com/v1/badges/HASH_XXX/maintainability)](https://codeclimate.com/github/edtoken/clean-vue-typescript-pkg/maintainability) [![stars](https://img.shields.io/github/stars/edtoken/clean-vue-typescript-pkg.svg?style=social)](https://github.com/edtoken/clean-vue-typescript-pkg)\n- [React + create-react-app](https://github.com/edtoken/clean-react-cra-pkg) [![npm](https://img.shields.io/npm/v/@edtoken/clean-react-cra-pkg.svg)](https://www.npmjs.com/package/@edtoken/clean-react-cra-pkg) [![Build Status](https://travis-ci.org/edtoken/clean-react-cra-pkg.svg?branch=master)](https://travis-ci.org/edtoken/clean-react-cra-pkg) [![Maintainability](https://api.codeclimate.com/v1/badges/HASH_XXX/maintainability)](https://codeclimate.com/github/edtoken/clean-react-cra-pkg/maintainability) [![stars](https://img.shields.io/github/stars/edtoken/clean-react-cra-pkg.svg?style=social)](https://github.com/edtoken/clean-react-cra-pkg)\n- [React + TypeScript](https://github.com/edtoken/clean-react-typescript-pkg) [![npm](https://img.shields.io/npm/v/@edtoken/clean-react-typescript-pkg.svg)](https://www.npmjs.com/package/@edtoken/clean-react-typescript-pkg) [![Build Status](https://travis-ci.org/edtoken/clean-react-typescript-pkg.svg?branch=master)](https://travis-ci.org/edtoken/clean-react-typescript-pkg) [![Maintainability](https://api.codeclimate.com/v1/badges/HASH_XXX/maintainability)](https://codeclimate.com/github/edtoken/clean-react-typescript-pkg/maintainability) [![stars](https://img.shields.io/github/stars/edtoken/clean-react-typescript-pkg.svg?style=social)](https://github.com/edtoken/clean-react-typescript-pkg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedtoken%2Fclean-js-pkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedtoken%2Fclean-js-pkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedtoken%2Fclean-js-pkg/lists"}