forked from Dionysusnu/rbxts-rust-classes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 2.06 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
{
"name": "@rbxts/rust-classes",
"version": "0.12.0",
"description": "Typescript implementations of Rust's std types",
"scripts": {
"prepublishOnly": "npm run eslint && npm test",
"build": "rbxtsc --verbose",
"eslint": "eslint src tests --max-warnings 0",
"test": "npm run test-types && npm run build && npm run test-link && npm run test-compile && npm run test-rojo && npm run test-run",
"test-types": "cd tests && npm i @rbxts/types@latest @rbxts/compiler-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",
"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.0.4-types.0",
"@rbxts/testez": "^0.3.1-ts.6",
"@rbxts/types": "^1.0.642",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.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.0.4",
"typescript": "^4.8.4"
},
"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"
]
}