Verified Commit 2bb1e86a authored by Elias Häußler's avatar Elias Häußler 🐛

[TASK] Switch from yarn to npm

parent f40eb5f6
......@@ -7,6 +7,5 @@ matrix:
- language: node_js
node_js: "8"
yarn: true
- node_modules
......@@ -17,7 +17,7 @@ The project is based on the [D3 library]( and developed
## Requirements
* `yarn` or `npm` to install the required packages
* `npm` to install the required packages
* [Python 3.6]( in case you want to download the latest data
......@@ -33,7 +33,7 @@ cd student-growth
After cloning install the dependencies:
npm install
......@@ -42,8 +42,8 @@ yarn
In order to access the website which shows the visualization you need to build the necessary project files:
yarn run build
yarn run serve
npm run build
npm run serve
This compiles all necessary files and places them inside a `dist` folder. Files from this folder will be used as source
......@@ -60,7 +60,7 @@ CLI after running the above commands.
### Development mode
yarn run dev
npm run dev
The Development mode allows you to see changes on project files immediately in your browser since BrowserSync is watching
......@@ -76,7 +76,7 @@ for changes.
`serve` | `serve` | Run the server without creating any source files
`test` | `lint` | Run linters to test project files
All `npm` scripts need to be executed using `yarn run <command>` or `npm run-script <command>`.
All `npm` scripts need to be executed using `npm run <command>`.
When running Gulp tasks, execute them using `gulp <command>`.
You can provide the parameter `--force-download` to download latest data before running the project. Alternatively,
This diff is collapsed.
This diff is collapsed.
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