forked from Figma-Linux/figma-linux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 3.32 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "figma-linux",
"version": "0.11.4",
"description": "Figma is the first interface design tool based in the browser, making it easier for teams to create software. Join as in Telegram: https://t.me/figma_linux",
"main": "src/main/index.ts",
"repository": "git@github.com:ChugunovRoman/figma-linux.git",
"homepage": "https://github.com/ChugunovRoman/figma-linux",
"author": "ChugunovRoman <Zebs-BMK@yandex.ru>",
"license": "MIT",
"scripts": {
"start": "run-s build run",
"dev": "run-s rollup:dev",
"run": "electron dist/main/main.js",
"run:watch": "nodemon --config ./config/nodemon.json",
"rollup": "rollup -c ./config/rollup.renderer.config.js",
"rollup:main": "rollup -c ./config/rollup.main.config.js",
"rollup:dev": "run-p rollup:main rollup:watch",
"rollup:watch": "rollup -c ./config/rollup.renderer.config.js -w",
"build": "npm run cln; run-p rollup:main rollup",
"builder": "electron-builder --config=config/builder.json -l",
"pack": "rm -rf build/installers && npm run build && chmod a+x ./resources/AppRun && npm run builder",
"package": "rm -rf build/installers && npm run build && electron-builder --config=config/builder.json -l",
"local:install": "sudo rm -rf /opt/figma-linux && sudo mkdir -p /opt/figma-linux && sudo cp -rf ./build/installers/linux-unpacked/* /opt/figma-linux/",
"check": "svelte-check",
"lp": "run-p lint prettier",
"lint": "eslint -c ./config/.eslintrc.js src/**/*.ts",
"prettier": "prettier src/{**/,*/**/,**/**/**/,**/**/**/**/,**/**/**/**/**/,**/**/**/**/**/**/}*.ts --write",
"precommit": "lint-staged",
"cln": "rm -rf ./dist"
},
"lint-staged": {
"*.{ts, tsx, js, jsx}": [
"node_modules/.bin/eslint -c ./config/.eslintrc.js src/**/*.ts",
"node_modules/.bin/prettier src/{**/,*/**/,**/**/**/,**/**/**/**/,**/**/**/**/**/,**/**/**/**/**/**/}*.ts --write",
"git add"
]
},
"dependencies": {
"adm-zip": "^0.5.10",
"chokidar": "^3.5.3",
"css-vars": "^2.4.0",
"electron-build-env": "^0.2"
},
"devDependencies": {
"@electron/rebuild": "^3.2.10",
"@rollup/plugin-alias": "^4.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.0.0",
"@tsconfig/svelte": "^3.0.0",
"@types/adm-zip": "^0.5.0",
"@types/lodash": "^4.14.191",
"@types/node": "^18.11.18",
"@types/uuid": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"dotenv": "^16.0.3",
"electron": "^30.0.8",
"electron-builder": "^24.13.3",
"electron-rebuild": "^3.2.9",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"nodemon": "^2.0.20",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.3",
"rollup": "^3.29.5",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-css-only": "^4.3.0",
"rollup-plugin-dev": "^2.0.4",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-svelte": "^7.1.0",
"svelte-check": "^3.8.6",
"svelte-preprocess": "^5.1.4",
"typescript": "^4.9.4"
},
"keywords": [
"Figma",
"linux",
"Electron",
"desktop",
"app"
]
}