-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
117 lines (112 loc) · 3.41 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "openrct2-flexui",
"author": "Basssiiie",
"license": "MIT",
"version": "0.1.0-prerelease.20",
"description": "Create flexible user interfaces for OpenRCT2 plugins.",
"keywords": [
"openrct2",
"plugin",
"user interface",
"ui",
"framework",
"declarative",
"binding",
"reactive"
],
"type": "module",
"main": "./dist/index.min.js",
"module": "./dist/esm/src/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"require": "./dist/index.min.js",
"import": "./dist/esm/src/index.mjs",
"types": "./dist/index.d.ts"
},
"files": [
"./dist/esm/**/*",
"./dist/index.*"
],
"scripts": {
"start": "npm run watch",
"watch": "nodemon --watch ./src --ext js,ts --exec \"npm run build:dev\"",
"build": "npm run build:prod && npm run lint",
"build:dev": "npm run clean && rollup --config rollup.config.js",
"build:prod": "npm run clean && rollup --config rollup.config.js --environment BUILD:production",
"build:examples": "npm run for:examples --action=\"run build\"",
"install:examples": "npm run for:examples --action=\"install --prefer-offline\"",
"install:test-setup": "npm install --prefix ./tests/package/project --prefer-offline",
"install:all": "npm run for:all --action=\"install --prefer-offline\"",
"ci:all": "npm run for:all --action=\"ci --prefer-offline --no-audit --no-save\"",
"lint": "eslint",
"test": "nyc ava",
"version:prerelease": "npm version prerelease --preid=prerelease",
"publish:local": "npm run build && npm install --global",
"publish:prerelease": "npm run build && release-it --prerelease=prerelease",
"clean": "node --eval \"fs.rmSync('./dist', { recursive: true, force: true })\"",
"exec": "node --eval \"var t=process.env.npm_config_target;child_process.execSync('npm '+process.env.npm_config_action+(t?(' --prefix '+t):''),{stdio: 'inherit'})\"",
"for:examples": "npm run exec --target=examples/AllWidgets && npm run exec --target=examples/BirdStalker && npm run exec --target=examples/Ratios && npm run exec --target=examples/WindowWithTabs",
"for:all": "npm run exec && npm run for:examples && npm run exec --target=tests/package/project"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Basssiiie/OpenRCT2-FlexUI.git"
},
"homepage": "https://github.com/Basssiiie/OpenRCT2-FlexUI#readme",
"bugs": {
"url": "https://github.com/Basssiiie/OpenRCT2-FlexUI/issues"
},
"devDependencies": {
"@ava/typescript": "^5.0.0",
"@eslint/js": "^9.15.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^12.1.1",
"@stylistic/eslint-plugin-ts": "^2.11.0",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.9.0",
"ava": "^6.0.1",
"eslint": "^9.15.0",
"nodemon": "^3.0.1",
"nyc": "^17.1.0",
"openrct2-mocks": "^0.1.0",
"release-it": "^17.0.1",
"rollup": "^4.9.4",
"rollup-plugin-dts": "^6.0.2",
"tsconfig-paths": "^4.1.0",
"tslib": "^2.3.1",
"tsx": "^4.7.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.14.0"
},
"ava": {
"extensions": {
"ts": "module"
},
"files": [
"tests/**/*.tests.ts"
],
"nodeArguments": [
"--import=tsx"
],
"require": [
"./tests/_setup.cjs"
],
"verbose": true,
"workerThreads": false
},
"release-it": {
"git": {
"commitMessage": "Release v${version}"
},
"github": {
"releaseName": "v${version}",
"release": true,
"preRelease": true,
"web": true
},
"npm": {
"tag": "next"
}
}
}