mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 02:12:30 +01:00
Add lint and travis
This commit is contained in:
parent
150cf39ee0
commit
a38cfd8953
7
.travis.yml
Normal file
7
.travis.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "4"
|
||||||
|
- "6"
|
||||||
|
|
||||||
|
script:
|
||||||
|
npm run lint
|
@ -6,7 +6,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron src",
|
"start": "electron src",
|
||||||
"build": "rm -rf dist && babel src -d dist --copy-files && ln -s ../node_modules dist/ && ln -s ../package.json ./dist/",
|
"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": {
|
"author": {
|
||||||
"name": "Mikael Finstad",
|
"name": "Mikael Finstad",
|
||||||
@ -21,6 +22,7 @@
|
|||||||
"electron-prebuilt-compile": "^1.4.4",
|
"electron-prebuilt-compile": "^1.4.4",
|
||||||
"eslint": "^3.8.0",
|
"eslint": "^3.8.0",
|
||||||
"eslint-config-airbnb": "^12.0.0",
|
"eslint-config-airbnb": "^12.0.0",
|
||||||
|
"eslint-plugin-import": "^1.16.0",
|
||||||
"eslint-plugin-jsx-a11y": "^2.2.3",
|
"eslint-plugin-jsx-a11y": "^2.2.3",
|
||||||
"eslint-plugin-react": "^6.4.1"
|
"eslint-plugin-react": "^6.4.1"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user