1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-25 19:52:44 +01:00
lossless-cut/package.json
Mikael Finstad f9e43a3bb4 upgrade build system
- change to electron-builder
- upgrade electron to 7
- use ffmpeg-static
2019-11-04 11:32:03 +08:00

126 lines
3.5 KiB
JSON

{
"name": "lossless-cut",
"productName": "LosslessCut",
"description": "Lossless video editor",
"copyright": "Copyright © 2019 ${author}",
"version": "2.4.0",
"main": "build/index.js",
"scripts": {
"start": "electron watch-build",
"watch": "babel src -d watch-build --copy-files -w",
"icon-gen": "svg2png src/icon.svg -o ./icon-build/app-512.png -w 512 -h 512",
"build-js": "rm -rf build && babel src -d build --copy-files",
"postinstall": "electron-builder install-app-deps",
"pack-mac": "electron-builder --mac",
"prepack-mac": "yarn build-js",
"pack-win": "electron-builder --win",
"prepack-win": "yarn build-js",
"pack-linux": "electron-builder --linux",
"prepack-linux": "yarn build-js",
"prerelease": "yarn build-js",
"release": "build",
"gifify": "gifify -p 405:299 -r 5@3 Untitled.mov-00.00.00.971-00.00.19.780.mp4",
"lint": "eslint --ext .jsx --ext .js ."
},
"author": {
"name": "Mikael Finstad",
"email": "finstaden@gmail.com",
"url": "mifi.no"
},
"repository": {
"type": "git",
"url": "https://github.com/mifi/lossless-cut.git"
},
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-eslint": "^10.0.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.16.0",
"electron": "^7.0.1",
"electron-builder": "21",
"eslint": "^5.6.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.11.1",
"svg2png": "^4.1.1"
},
"dependencies": {
"bluebird": "^3.4.6",
"classnames": "^2.2.5",
"color": "^3.1.0",
"electron-default-menu": "^1.0.0",
"electron-is-dev": "^0.1.2",
"execa": "^0.5.0",
"ffmpeg-static": "^2.7.0",
"ffprobe-static": "^3.0.0",
"file-type": "^11.0.0",
"github-api": "^3.2.2",
"hammerjs": "^2.0.8",
"jquery": "^3.4.0",
"lodash": "^4.17.13",
"mime-types": "^2.1.14",
"moment": "^2.18.1",
"mousetrap": "^1.6.1",
"p-queue": "^6.2.0",
"prop-types": "^15.6.2",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-hammerjs": "^1.0.1",
"react-sortable-hoc": "^1.5.3",
"read-chunk": "^2.0.0",
"string-to-stream": "^1.1.1",
"strong-data-uri": "^1.0.5",
"sweetalert2": "^8.0.1",
"sweetalert2-react-content": "^1.0.1",
"trash": "^4.3.0",
"uuid": "^3.3.2",
"which": "^1.2.11"
},
"browserslist": {
"production": [
"electron 7.0"
],
"development": [
"electron 7.0"
]
},
"build": {
"appId": "no.mifi.losslesscut",
"files": [
"build/**/*",
"!node_modules/ffmpeg-static/bin/**/*",
"!node_modules/ffprobe-static/bin/**/*"
],
"asar": {
"smartUnpack": false
},
"mac": {
"target": "dmg",
"extraResources": [
"node_modules/ffmpeg-static/bin/darwin/**",
"node_modules/ffprobe-static/bin/darwin/**"
],
"icon": "icon-build/app-512.png"
},
"win": {
"target": "portable",
"extraResources": [
"node_modules/ffmpeg-static/bin/win32/x64/**",
"node_modules/ffprobe-static/bin/win32/x64/**"
],
"icon": "icon-build/app-512.png"
},
"linux": {
"extraResources": [
"node_modules/ffmpeg-static/bin/linux/x64/**",
"node_modules/ffprobe-static/bin/linux/x64/**"
],
"icon": "icon-build/app-512.png"
}
}
}