1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-24 19:32:29 +01:00

Add lint and travis

This commit is contained in:
Mikael Finstad 2016-10-31 16:20:49 +01:00
parent 150cf39ee0
commit a38cfd8953
2 changed files with 10 additions and 1 deletions

7
.travis.yml Normal file
View File

@ -0,0 +1,7 @@
language: node_js
node_js:
- "4"
- "6"
script:
npm run lint

View File

@ -6,7 +6,8 @@
"scripts": {
"start": "electron src",
"build": "rm -rf dist && babel src -d dist --copy-files && ln -s ../node_modules dist/ && ln -s ../package.json ./dist/",
"package": "electron-packager dist LosslessCut --out=package --asar --overwrite --all --version 1.3.8"
"package": "electron-packager dist LosslessCut --out=package --asar --overwrite --all --version 1.3.8",
"lint": "eslint ."
},
"author": {
"name": "Mikael Finstad",
@ -21,6 +22,7 @@
"electron-prebuilt-compile": "^1.4.4",
"eslint": "^3.8.0",
"eslint-config-airbnb": "^12.0.0",
"eslint-plugin-import": "^1.16.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.4.1"
},