1.0.3 • Published 3 years ago

@simple-lib/neat v1.0.3

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

Library

Structure

Module has common typescript library structure with a bit extension to be able to checkout implementation during development.

lib
    Service
        ServiceName
            ServiceName.ts
            index.ts
        index.ts
    index.ts
    <Folders>
www
    assets
        ...anything
    index.html
    common.css
    main.ts
package.json
tsconfig.json
webpack.config.json

Each index.ts files exports all the exports from his folder level. Each service, class or data should be provided with folder (except grouping staff like IPoint, IPointSet anr ect.).

www folder and webpack.config.js is used to run development server which will automatically update himself during file changes.

Commands

Run dev server

npm start

Build library

npm run build

Watch build state during implementation

npm run watch

Pack package (only package.json and output dist folder are going to be packed)

npm pack

Publish package (only package.json and output dist folder are going to be published)

npm login <--registry=http(s)://<registry-host>> - if it is required to be logged in
npm publish <--registry=http(s)://<registry-host>>

Full deployment command list:

npm run build
npm login <--registry=http(s)://<registry-host>> - if it is required to be logged in
npm publish <--registry=http(s)://<registry-host>>
1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago