-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.46 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
{
"name": "@restatedev/xstate",
"version": "0.1.1",
"description": "Run XState state machines on Restate",
"license": "MIT",
"author": "Restate developers",
"email": "[email protected]",
"type": "module",
"main": "./dist/cjs/src/public_api.js",
"types": "./dist/cjs/src/public_api.d.ts",
"module": "./dist/esm/src/public_api.js",
"exports": {
".": {
"import": {
"types": "./dist/esm/src/public_api.d.ts",
"default": "./dist/esm/src/public_api.js"
},
"require": {
"types": "./dist/cjs/src/public_api.d.ts",
"default": "./dist/cjs/src/public_api.js"
}
}
},
"files": [
"dist"
],
"scripts": {
"clean": "rm -rf dist",
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "tsc --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --outDir ./dist/cjs --declaration --declarationDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm": "tsc --outDir ./dist/esm --declaration --declarationDir ./dist/esm",
"test": "vitest run --silent --passWithNoTests",
"lint": "eslint --ignore-path .eslintignore --max-warnings=0 --ext .ts .",
"format": "prettier --ignore-path .eslintignore --write \"**/*.+(js|ts|json)\"",
"format-check": "prettier --ignore-path .eslintignore --check \"**/*.+(js|ts|json)\"",
"attw": "attw --pack",
"verify": "npm run format-check && npm run lint && npm run test && npm run build && npm run attw",
"release": "release-it",
"auth-example": "tsx --watch examples/auth/app.ts",
"payment-example": "tsx --watch examples/payment/app.ts"
},
"dependencies": {
"@restatedev/restate-sdk": "^1.3.0",
"xstate": "^5.18.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@types/node": "^20.10.4",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"eslint": "^8.57.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-require-extensions": "^0.1.3",
"prettier": "^2.8.4",
"release-it": "^17.3.0",
"tsx": "^4.19.0",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
},
"publishConfig": {
"@restatedev:registry": "https://registry.npmjs.org"
},
"release-it": {
"git": {
"pushRepo": "https://github.com/restatedev/xstate.git"
},
"github": {
"release": true
},
"npm": {
"publish": "false"
}
}
}