1.0.2 • Published 8 years ago

jazale-math-ng-service v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

For the following notes, replace 'my-library' with your library name.

Setup:

  1. Run 'npm install'
  2. In 'root' folder of project, create my-library.ts.
  3. Create folder 'src'
  4. Add library files to 'src'
  5. In the 'my-library.ts' file, add lines for the interfaces and classes that you wish to make public for the library. E.g. "export * from './src/my-lib-code.ts';"
  6. Run 'npm run tsc'. It should generates the .js, .d.ts and .js.map files for your project.
  7. Open 'package.json' and find the entry ("typings": "./my-library.d.ts"). Change 'my-library' to your library name.
  8. While in 'package.json', change the name (first line in file) to match library name.

Test:

  1. Run 'npm link'
  2. Run 'npm link my-library

Publish:

  1. Run 'npm Publish'

Additionally, see folder readme.notes for original notes.