Look for updates:
npm run ncuInstall dependencies:
npm installCheck syntax and rules:
npm run lintCompile and package
npm run buildSet the environment variables for your Simplicité instance:
TEST_SIMPLICITE_SCHEMEdefaults to'http'TEST_SIMPLICITE_HOSTdefaults to'localhost'TEST_SIMPLICITE_PORTdefaults to8080TEST_SIMPLICITE_ROOTdefaults to''(root webapp) orTEST_SIMPLICITE_URLdefaults tohttp://localhost:8080andTEST_SIMPLICITE_ADMIN_USERNAMEdefaults to'designer'TEST_SIMPLICITE_ADMIN_PASSWORDdefaults to'designer'TEST_SIMPLICITE_USERNAMEdefaults to'website'TEST_SIMPLICITE_PASSWORDdefaults to'simplicite'
Run the unit tests, this generates the coverage folder:
npm run testnpm run test:allnpm run test:browserGenerate documentation:
npm run docCheck package to be published:
npm pack
tar tvfz simplicite-3.x.y.tgz
rm simplicite-3.x.y.tgzPublish to npm repository:
npm publishDeprecate previous version:
npm deprecate simplicite@3.x.y-1 'Deprecated'