Commit 60137511 authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

re-structure

parent 73862282
......@@ -5,7 +5,7 @@ pages-testing:
- npm run clean
- npm run build
- rm -rf ./built/views
- cp -R ./views ./built
- cp -R ./src/views ./built
- cat $configfiledev > ./built/config/config.js
- "pm2 delete --silent project || :"
- pm2 start ./built/app.js --name=project
......
import helpers from '../utils/helpers'
import gitlab from '../controller/gitlab'
import helpers from '../src/utils/helpers'
import gitlab from '../src/controller/gitlab'
test('[/utils/helpers] convert string to array', () => {
expect(helpers.stringToArray('foo')).toStrictEqual(["foo"])
......
......@@ -14,10 +14,11 @@
"url": "https://transfer.hft-stuttgart.de/gitlab/m4lab_tv1/project-page.git"
},
"scripts": {
"start:dev": "nodemon app.ts",
"start:dev": "nodemon ./src/app.ts",
"start": "nodemon ./built/app.js",
"build": "tsc -build",
"clean": "tsc -build --clean",
"check-types": "tsc",
"test": "jest",
"cleancode": "ts-standard --fix"
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment