1.0.4 • Published 2 years ago
seie v1.0.4
seie
seie is short for Setting Express in Express
setting up
npx seie --new "<project name| project dir>"
npm run start
oryarn start
to use build "for typescript"
npm run build
oryarn build
for testing
in package.json
file
for JavaScript
add for jest
"scripts": { "test": "jest" }
add for jasmine
"scripts": { "test": "jasmine" }
for TypeScript
add for jest
"scripts": {
"jest": "jest",
"test": "npm run build && npm run jest"
}
add for jasmine
"scripts": {
"jasmine": "jasmine",
"test": "npm run build && npm run jasmine"
}
args
--default
or-d
: to setting up the project on default choices--new
or-n
: to create a new project