feat(frontend): scaffolded frontend apps & flows

This commit is contained in:
Dimitrie Stefanescu 2020-05-23 12:29:19 +01:00
Родитель 7011dd3759
Коммит c2eb7760f9
2 изменённых файлов: 25 добавлений и 4 удалений

22
.circleci/config.yml Normal file
Просмотреть файл

@ -0,0 +1,22 @@
version: 2.1
orbs:
node: circleci/node@1.1.6
jobs:
docker:
- image: circleci/postgres:latest-ram
build-and-test:
executor:
name: node/default
steps:
- checkout
- run: whoami
- run: |
psql -c "\list"
- node/with-cache:
steps:
- run: npm install
- run: npm run test:server
workflows:
build-and-test:
jobs:
- build-and-test

Просмотреть файл

@ -4,8 +4,8 @@
"description": "speckle server",
"main": "index.js",
"scripts": {
"dev:frontend":"",
"build:frontend":"",
"dev:frontend": "cd frontend && npm run serve",
"build:frontend": "cd frontend && npm run build",
"dev:server": "PORT=3000 NODE_ENV=development DEBUG=www:server,speckle:* nodemon ./bin/www --watch . --watch ./bin/www -e js,graphql,env",
"production:server": "PORT=3000 NODE_ENV=production nodemon ./bin/www --watch . --watch ./bin/www -e js,graphql,env",
"test:server": "PORT=3001 DEBUG=speckle:test,speckle:errors NODE_ENV=test nyc nyc --reporter=html mocha -s 0 --exit",
@ -26,7 +26,6 @@
"auto-load": "^3.0.4",
"bcrypt": "^4.0.1",
"body-parser": "^1.19.0",
"connect-history-api-fallback": "^1.6.0",
"crypto-random-string": "^3.2.0",
"debug": "^4.1.1",
"express": "^4.17.1",
@ -54,4 +53,4 @@
"path": "./node_modules/cz-conventional-changelog"
}
}
}
}