Skip to content

Latest commit

 

History

History
106 lines (75 loc) · 1.62 KB

File metadata and controls

106 lines (75 loc) · 1.62 KB

Simplicité Software


Quality Gate Status

Prepare

Look for updates:

npm run ncu

Install dependencies:

npm install

Build

Check syntax and rules:

npm run lint

Compile and package

npm run build

Test

Node.js

Set the environment variables for your Simplicité instance:

  • TEST_SIMPLICITE_SCHEME defaults to 'http'
  • TEST_SIMPLICITE_HOST defaults to 'localhost'
  • TEST_SIMPLICITE_PORT defaults to 8080
  • TEST_SIMPLICITE_ROOT defaults to '' (root webapp) or
  • TEST_SIMPLICITE_URL defaults to http://localhost:8080 and
  • TEST_SIMPLICITE_ADMIN_USERNAME defaults to 'designer'
  • TEST_SIMPLICITE_ADMIN_PASSWORD defaults to 'designer'
  • TEST_SIMPLICITE_USERNAME defaults to 'website'
  • TEST_SIMPLICITE_PASSWORD defaults to 'simplicite'

Run the unit tests, this generates the coverage folder:

npm run test

Other unit tests

npm run test:all

Browser tests

npm run test:browser

Documentation

Generate documentation:

npm run doc

Publish

Check package to be published:

npm pack
tar tvfz simplicite-3.x.y.tgz
rm simplicite-3.x.y.tgz

Publish to npm repository:

npm publish

Deprecate previous version:

npm deprecate simplicite@3.x.y-1 'Deprecated'