Yarnify project

This commit is contained in:
Aarni Koskela
2020-09-22 18:07:31 +03:00
parent 691aac0351
commit d50ba30115
5 changed files with 6062 additions and 7818 deletions

3
.gitignore vendored
View File

@@ -1,6 +1,7 @@
*.log
.DS_Store
.history
.next
node_modules
out
.history
package-lock.json

View File

@@ -1,12 +1,12 @@
script: npm run build
script: yarn build
language: node_js
node_js:
- "11.6.0"
install:
- npm install
- yarn
test:
- npm run lint
- npm run build
- yarn lint
- yarn build
deploy:
local_dir: out
provider: pages

View File

@@ -20,6 +20,7 @@
### Vaaditut työkalut
- Asenna [Node.js](http://nodejs.org)
- Asenna [Yarn 1.x](https://classic.yarnpkg.com/en/)
- Asenna [Git](https://git-scm.com/) client lähdekoodin hallintaan
### Kloonaa projekti koneellesi
@@ -32,8 +33,8 @@ git clone https://github.com/koodiklinikka/koodiklinikka.fi.git
```sh
cd koodiklinikka.fi
npm install
npm start
yarn
yarn start
```
### Avaa esikatselu selaimessa
@@ -43,15 +44,15 @@ Avaa selaimessasi: [`http://localhost:3000`](http://localhost:3000)
## Komennot
### `npm install`
### `yarn`
Asentaa projektin riippuvuudet
### `npm start`
### `yarn`
Kääntää lähdetiedostot ja palvelee sovellusta porttiin `3000`
### `npm run build`
### `yarn build`
Kääntää lähdetiedostot -> `out/` -hakemistoon

7808
package-lock.json generated

File diff suppressed because it is too large Load Diff

6050
yarn.lock Normal file

File diff suppressed because it is too large Load Diff