Update dependencies and remove outdated ones (#722)

* Update dependencies and remove outdated ones
* Add package lock file
* Add minified file
* Karma now uses headless browser to run QUnit
* Add to readme that node and npm install is required
* Update license info
* Add lint-new but don't use it in CI yet
This commit is contained in:
Moritz
2019-04-10 09:21:23 +02:00
committed by Henrik Ingo
parent 97546a5536
commit 898083116b
14 changed files with 5241 additions and 214 deletions

29
.circleci/config.yml Normal file
View File

@@ -0,0 +1,29 @@
version: 2
jobs:
build:
working_directory: ~/impress.js
docker:
- image: circleci/node:current-browsers
steps:
- checkout
- run:
name: update-npm
command: 'sudo npm install -g npm@latest'
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: install-npm
command: npm install
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: build
command: npm run build
- run:
name: lint
command: npm run lint
- run:
name: test
command: npm test