-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.14 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 2.14 KB
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
{
"name": "react-simple-state-machine",
"version": "0.1.0",
"private": false,
"description": "A tiny React hook for simple finite state machines.",
"main": "dist/bundle.cjs.js",
"module": "dist/bundle.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/bundle.esm.js",
"require": "./dist/bundle.cjs.js"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"files": [
"dist"
],
"scripts": {
"build:ts": "tsc -p tsconfig.json",
"build:bundle": "rollup -c",
"build": "npm run build:ts && npm run build:bundle",
"dev": "cd example && ../node_modules/.bin/vite",
"test": "vitest",
"prepare": "npm run build",
"typecheck": "tsc -p tsconfig.dev.json --noEmit",
"lint": "eslint src test --ext .ts,.tsx",
"lint:fix": "eslint src test --ext .ts,.tsx --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kogovsekm/react-simple-state-machine.git"
},
"homepage": "https://github.com/kogovsekm/react-simple-state-machine#readme",
"bugs": {
"url": "https://github.com/kogovsekm/react-simple-state-machine/issues"
},
"keywords": [
"state-machine",
"simple-state-machine",
"simple",
"react",
"hook",
"react-hook",
"finite-state-machine",
"finite-state-machine-hook"
],
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"react": ">=17"
},
"devDependencies": {
"@rollup/plugin-commonjs": "29.0.2",
"@rollup/plugin-node-resolve": "15.0.0",
"@rollup/plugin-typescript": "11.0.0",
"@testing-library/react": "14.0.0",
"@types/react": "18.0.0",
"@types/react-dom": "18.0.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"jsdom": "29.0.1",
"react": "18.0.0",
"react-dom": "18.0.0",
"rollup": "3.30.0",
"rollup-plugin-terser": "7.0.2",
"tslib": "2.6.0",
"typescript": "5.6.2",
"vite": "8.0.3",
"vitest": "4.1.2"
},
"license": "MIT"
}