New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@spacebartech/textbox

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spacebartech/textbox

Text input surrounded by a dashed box

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
6
200%
Maintainers
2
Weekly downloads
 
Created
Source

The Spacebar Node Module Template

To start your new project, follow these steps

1. Clone this repository

git clone https://github.com/SpacebarTech/node-module-template.git

2. Create a new repository for your project

Do this on github, or send Tim a request to have it done.

3. Remove template.git from your project

git remote remove origin

4. Add your repository to your project

git remote add origin https://github.com/SpacebarTech/[YOUR_PROJECT].git

5. Update your package.json so that all fields are filled out correctly

In your package.json, make sure that "name," "description," "repository," "bugs," and "homepage" are all the correct values for your repository, and not for template.git

6. Update webpack.config.js

Change entry prop to either main.js or main.vue
Change [MODULE_NAME] to the name you want\

7. Push up changes

git add .
git commit -m “Update from template”
git push origin master

8. Install all the packages

npm install

9. Set up semantic release

semantic-release-cli setup

Follow prompt.
Pick Travis CI
Do not make a new travis.yml file\

10. Setup main.js / main.vue file

Use either the main.js or main.vue file. Delete the other one.

11. Build dist

npm run build

Make sure there are no errors

12. Publish module

git add .
git-cz Follow the prompts
git push origin master

13. Update README.md

  • Delete instructions
  • use template below

[NAME OF MODULE]

[DESCRIPTION]

Installation

npm install @spacebartech/[NAME OF MODULE]

Usage

Tests

npm test

FAQs

Package last updated on 04 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts