This package has been deprecated

Author message:

try to install saber-tsmod instead of it

saber-ts-launch-browser-npm

1.1.8 • Public • Published

saber-ts-launch-browser-npm

it just a template for ts dev in browser and publish it to npm.

run ts in browser!

publish your ts module to npm!

start

git clone https://github.com/Saber2pr/saber-ts-launch-browser-npm.git
# install the typescript and webpack
npm install
# init package
npm run init

# create new module file
npm run new-mod

# auto compile to commonjs
npm start

# auto compile to es5
npm run dev

develope and test

you should write ts in /src

ts -(tsc)-> commonjs -(webpack)-> es5

you should make test in /src/test

export your core in /src/index.ts!

publish

Before publish, there are some items in package.json should to be updated below:

  1. name
  2. version
  3. description
  4. repository(url)
  5. author
# if all is well, try:
npm publish

Readme

Keywords

none

Package Sidebar

Install

npm i saber-ts-launch-browser-npm

Weekly Downloads

1

Version

1.1.8

License

ISC

Unpacked Size

88.7 kB

Total Files

55

Last publish

Collaborators

  • npm