-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 4.08 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "tvmanager",
"version": "1.0.0",
"description": "Tracks recorded, watched & upcoming TV shows",
"keywords": [
"tv",
"recording",
"iphone"
],
"repository": {
"type": "git",
"url": "git://github.com/scottohara/tvmanager.git"
},
"author": "Scott O'Hara",
"license": "MIT",
"bugs": {
"url": "https://github.com/scottohara/tvmanager/issues"
},
"homepage": "https://github.com/scottohara/tvmanager",
"dependencies": {
"sortablejs": "1.15.2"
},
"devDependencies": {
"@4tw/cypress-drag-drop": "2.2.5",
"@types/chai": "4.3.11",
"@types/mocha": "10.0.6",
"@types/sinon": "17.0.3",
"@types/sinon-chai": "3.2.12",
"@types/sortablejs": "1.15.8",
"chai": "4.4.1",
"concurrently": "8.2.2",
"coverage-istanbul-loader": "3.0.5",
"css-loader": "6.10.0",
"cypress": "13.16.0",
"eslint": "9.16.0",
"eslint-config-oharagroup": "5.1.0",
"html-loader": "5.0.0",
"html-webpack-plugin": "5.6.0",
"ignore-loader": "0.1.2",
"karma": "6.4.2",
"karma-chai-sinon": "0.1.5",
"karma-chrome-launcher": "3.2.0",
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-ios-simulator-launcher": "0.0.4",
"karma-mocha": "2.0.1",
"karma-mocha-reporter": "2.2.5",
"karma-sinon": "1.0.5",
"karma-sourcemap-loader": "0.4.0",
"karma-webpack": "5.0.1",
"mini-css-extract-plugin": "2.8.1",
"mocha": "10.3.0",
"prettier": "3.4.1",
"process": "0.11.10",
"pwa-asset-generator": "6.3.1",
"sinon": "18.0.0",
"sinon-chai": "3.7.0",
"ts-loader": "9.5.1",
"typescript": "5.7.2",
"typescript-eslint": "8.17.0",
"webpack": "5.91.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4",
"webpack-merge": "5.10.0",
"webpack-webmanifest-loader": "2.0.2",
"workbox-webpack-plugin": "7.0.0"
},
"config": {
"DEVICE_TYPE_ID": "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro-Max",
"RUNTIME_ID": "com.apple.CoreSimulator.SimRuntime.iOS-18-0"
},
"scripts": {
"start": "concurrently --prefix-colors auto npm:api npm:db npm:ui",
"api": "bundle exec op run --env-file=.env -- rails server",
"api:test": "npm run api -- --environment=test",
"db": "postgres -D /opt/homebrew/var/postgres",
"ui": "webpack serve --config webpack.dev.js",
"build": "webpack --progress --config webpack.prod.js",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint",
"rspec": "bundle exec op run --env-file=.env -- rake spec",
"cypress": "op run --env-file=.env -- cypress open --e2e",
"start:simulator": "xcrun simctl delete tvm-simulator; xcrun simctl bootstatus $(xcrun simctl create tvm-simulator $npm_package_config_DEVICE_TYPE_ID $npm_package_config_RUNTIME_ID) -b",
"show:simulator": "npm run start:simulator && open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app",
"test": "npm run format:check && npm run lint && npm run test:coverage:mobile",
"test:backend": "concurrently --prefix-colors auto --hide db --kill-others npm:db npm:rspec",
"test:bdd": "karma start karma-bdd.conf.js",
"test:coverage": "karma start",
"test:coverage:chrome": "karma start --browsers ChromeHeadless",
"test:coverage:mobile": "ENV_CMD='sleep 600' npm run start:simulator && karma start --browsers MobileSafari",
"test:e2e": "npm run build && concurrently --prefix-colors auto --kill-others npm:api:test npm:db npm:cypress",
"generate:splash": "rm src/images/apple-splash-*; pwa-asset-generator build/tv-splash.svg src/images --splash-only --background black --padding 0 --type png --xhtml --path-override \"<%=require('~/images\"",
"deploy": "fly deploy --build-arg NODE_VERSION=$npm_package_engines_node --build-arg NPM_VERSION=$npm_package_engines_npm --build-arg RUBY_VERSION=$npm_package_engines_ruby",
"deploy:staging": "npm run deploy -- --app tvmanagertest",
"deploy:production": "npm run deploy -- --app tvmanager",
"swap:check": "fly ssh console --command 'free'"
},
"engines": {
"node": "22.11.0",
"npm": "10.9.1",
"ruby": "3.3.6"
}
}