mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-04 15:08:01 +00:00
0fea4064c3
* chore: upgrade relevant libraries * feat(skip): add skip styling to paginated items * chore: upgrade relevant libraries * Fix: issue with text colour (#214) * fix: adjust text colour from context * fix: issue with wrong proptype * fix issue with vite migration (#217) * hotfix: 1.8.2 issues vite migration * fix: file import options * feat(55): styling * refactor: remove onhover option for entry block * refactor: relocate logging provider * refactor: convert to typescript * feat(55): add event editor * refactor: extract event actions * fix: bad import * feat(55): redesign components * fix: issues with not awaiting async * refactor: replace socket with subscription * refactor: remove unused * style: small tweaks * refactor: extract event actions * refactor: cleanup debug * refactor: chakra imports * fix: optimistic mutations * refactor: handle promise rejections * refactor: validation * fix: rq optimistic mutations * feat: add playback feedback to block * refactor: no optimistic adding of events * refactor: simplify cursor state * styles: cleanup editor style * refactor: cleanup duration update * fix: revert package upgrade (issues with vitest) * fix: prevent cyclic imports * refactor: extract data fetcher * refactor: typescript migration * chore: update tests
121 lines
3.5 KiB
JSON
121 lines
3.5 KiB
JSON
{
|
|
"name": "ontime",
|
|
"version": "1.8.2",
|
|
"author": "Carlos Valente",
|
|
"description": "Time keeping for live events",
|
|
"repository": "https://github.com/cpvalente/ontime",
|
|
"keywords": [
|
|
"lighdev",
|
|
"ontime",
|
|
"timer"
|
|
],
|
|
"license": "AGPL-3.0-only",
|
|
"main": "main.js",
|
|
"devDependencies": {
|
|
"cypress": "^9.6.0",
|
|
"electron": "^21.1.0",
|
|
"electron-builder": "^23.6.0",
|
|
"eslint": "^8.25.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-cypress": "^2.12.1",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"jest": "^28.0.3",
|
|
"nodemon": "^2.0.15",
|
|
"prettier": "^2.6.2",
|
|
"start-server-and-test": "^1.14.0",
|
|
"supertest": "^6.2.2"
|
|
},
|
|
"scripts": {
|
|
"nodestart": "NODE_ENV=development node src/app.js",
|
|
"setdb": "cp demo-db/db.json src/preloaded-db/db.json",
|
|
"clean": "rm -rf ../client/build/ && rm -rf ../client/node_modules && rm -rf src/node_modules && rm -rf ./node_modules && rm -rf ./dist",
|
|
"prep": "yarn clean && yarn setdb",
|
|
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
|
|
"start": "NODE_ENV=development electron .",
|
|
"start:server": "nodemon --experimental-modules --es-module-specifier-resolution=node src/app.js",
|
|
"cy:run": "cypress run",
|
|
"cypress": "start-server-and-test start http://localhost:4001 cy:run",
|
|
"pack": "electron-builder --dir",
|
|
"dist": "electron-builder",
|
|
"dist-win": "electron-builder --publish=never --x64 --win",
|
|
"dist-mac": "electron-builder --publish=never --x64 --mac",
|
|
"dist-linux": "electron-builder --publish=never --x64 --linux",
|
|
"dist-all": "electron-builder -mw"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"testPathIgnorePatterns": [
|
|
"dist",
|
|
"cypress"
|
|
]
|
|
},
|
|
"build": {
|
|
"productName": "ontime",
|
|
"appId": "no.lightdev.ontime",
|
|
"asar": true,
|
|
"dmg": {
|
|
"artifactName": "ontime-macOS.dmg",
|
|
"icon": "icon.icns"
|
|
},
|
|
"mac": {
|
|
"target": "dmg",
|
|
"category": "public.app-category.productivity",
|
|
"icon": "icon.icns"
|
|
},
|
|
"win": {
|
|
"target": "nsis"
|
|
},
|
|
"nsis": {
|
|
"artifactName": "ontime-win64.exe",
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"allowElevation": true,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"deleteAppDataOnUninstall": true,
|
|
"runAfterFinish": false,
|
|
"installerIcon": "icon.ico",
|
|
"installerSidebar": "ontime-install.bmp",
|
|
"uninstallerSidebar": "ontime-uninstall.bmp"
|
|
},
|
|
"linux": {
|
|
"target": "AppImage",
|
|
"artifactName": "ontime-linux.AppImage"
|
|
},
|
|
"files": [
|
|
"**/*",
|
|
"assets/",
|
|
"!**/{yarn.lock,yarn-error.log}",
|
|
"!**/{test,tests,__test__,__tests__}",
|
|
"!**/{mock,mocks,__mock__,__mocks__}",
|
|
"!*{.spec.js,*.test.js}"
|
|
],
|
|
"directories": {
|
|
"buildResources": "./assets/"
|
|
},
|
|
"extraResources": [
|
|
{
|
|
"from": "../client/build",
|
|
"to": "extraResources/client/build",
|
|
"filter": [
|
|
"**/*",
|
|
"!**/{yarn.lock,yarn-error.log}",
|
|
"!**/{test,tests,__test__,__tests__}",
|
|
"!**/{mock,mocks,__mock__,__mocks__}"
|
|
]
|
|
},
|
|
{
|
|
"from": "src",
|
|
"to": "extraResources/src",
|
|
"filter": [
|
|
"**/*",
|
|
"!**/{yarn.lock,yarn-error.log}",
|
|
"!**/{test,tests,__test__,__tests__}",
|
|
"!**/{mock,mocks,__mock__,__mocks__}"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"postinstall": "electron-builder install-app-deps"
|
|
}
|