1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 10:22:31 +01:00
lossless-cut/package.json
2020-02-15 21:04:44 +08:00

146 lines
4.0 KiB
JSON

{
"name": "lossless-cut",
"productName": "LosslessCut",
"description": "Lossless video editor",
"copyright": "Copyright © 2019 ${author}",
"version": "2.8.0",
"main": "build/index.js",
"scripts": {
"start": "electron watch-build",
"watch": "babel src -d watch-build --copy-files -w",
"icon-gen": "mkdir -p icon-build && svg2png src/icon.svg -o ./icon-build/app-512.png -w 512 -h 512",
"build": "yarn icon-gen && rm -rf build && babel src -d build --copy-files",
"postinstall": "electron-builder install-app-deps",
"pack-mac": "electron-builder --mac",
"prepack-mac": "yarn build",
"pack-win": "electron-builder --win",
"prepack-win": "yarn build",
"pack-linux": "electron-builder --linux",
"prepack-linux": "yarn build",
"release": "electron-builder",
"prerelease": "yarn 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": "https://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": "^8.0.0",
"electron-builder": "^22.3.2",
"electron-builder-notarize": "^1.1.2",
"eslint": "^5.16.0 || ^6.1.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^1.7.0",
"svg2png": "^4.1.1"
},
"dependencies": {
"axios": "^0.19.2",
"color": "^3.1.0",
"electron-default-menu": "^1.0.0",
"electron-is-dev": "^0.1.2",
"execa": "^0.5.0",
"ffmpeg-static": "3",
"ffprobe-static": "^3.0.0",
"file-type": "^12.4.0",
"fs-extra": "^8.1.0",
"github-api": "^3.2.2",
"hammerjs": "^2.0.8",
"lodash": "^4.17.13",
"mime-types": "^2.1.14",
"moment": "^2.18.1",
"mousetrap": "^1.6.1",
"p-map": "^3.0.0",
"p-queue": "^6.2.0",
"prop-types": "^15.6.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-hammerjs": "^1.0.1",
"react-icons": "^3.9.0",
"react-sortable-hoc": "^1.5.3",
"react-use": "^13.24.0",
"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": "^6.1.1",
"uuid": "^3.3.2",
"which": "^1.2.11"
},
"browserslist": {
"production": [
"electron 7.0"
],
"development": [
"electron 7.0"
]
},
"build": {
"files": [
"build/**/*",
"!node_modules/ffmpeg-static/bin/**/*",
"!node_modules/ffprobe-static/bin/**/*"
],
"asar": {
"smartUnpack": false
},
"appId": "no.mifi.losslesscut",
"artifactName": "${productName}-${os}.${ext}",
"afterSign": "electron-builder-notarize",
"mac": {
"hardenedRuntime": true,
"target": "dmg",
"extraResources": [
"node_modules/ffmpeg-static/bin/darwin/**",
"node_modules/ffprobe-static/bin/darwin/**"
],
"icon": "icon-build/app-512.png"
},
"win": {
"target": [
"portable",
"zip"
],
"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",
"target": [
"tar.bz2",
"AppImage",
"snap"
]
},
"snap": {
"publish": [
"github"
]
}
}
}