-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
59 lines (59 loc) · 2.28 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
{
"name": "@rbxts/rust-classes",
"version": "0.13.0",
"description": "Typescript implementations of Rust's std types",
"scripts": {
"prepublishOnly": "npm run build && npm run eslint && npm run test-lune",
"build": "rbxtsc --verbose",
"eslint": "eslint src tests --max-warnings 0",
"test": "npm run build && npm run test-types && npm run test-link && npm run test-compile && npm run test-rojo && npm run test-run",
"test-lune": "npm run build && npm run test-types && npm run test-link && npm run test-compile && npm run test-rojo && npm run test-run-lune",
"test-types": "cd tests && npm i @rbxts/types@latest",
"test-link": "npm link && cd tests && npm link @rbxts/rust-classes",
"test-compile": "cd tests && rbxtsc --verbose",
"test-rojo": "rojo build tests -o ./tests/test.rbxlx",
"test-run": "run-in-roblox --place ./tests/test.rbxlx --script ./tests/out/main.server.lua",
"test-run-lune": "lune run ./tests/runTestsWithLune.lua ./tests/test.rbxlx",
"dev-add-version": "copy package.json package-temp.json & for /F \"tokens=*\" %n IN ('git rev-parse --short HEAD') DO (cat package.json | jq --tab \".version |= . + \\\"-dev-%n\\\"\" > package-new.json & move package-new.json package.json)",
"dev-undo-version": "move package-temp.json package.json",
"dev-publish": "npm run dev-add-version && npm publish --tag next & npm run dev-undo-version"
},
"keywords": [
"Roblox"
],
"author": "Dionysusnu",
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/Dionysusnu/rbxts-rust-classes.git"
},
"devDependencies": {
"@rbxts/compiler-types": "^2.2.0-types.0",
"@rbxts/testez": "^0.3.1-ts.6",
"@rbxts/types": "^1.0.744",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^8.0.0",
"prettier": "^2.7.1",
"roblox-ts": "^2.2.0",
"typescript": "^5.2.2"
},
"bugs": {
"url": "https://github.com/Dionysusnu/rbxts-rust-classes/issues"
},
"homepage": "https://github.com/Dionysusnu/rbxts-rust-classes#readme",
"main": "out/init.lua",
"types": "out/index.d.ts",
"publishConfig": {
"access": "public"
},
"directories": {
"lib": "src"
},
"files": [
"out"
]
}