-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.9 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 2.9 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "@2toad/reflex",
"version": "1.0.0",
"description": "A simple approach to state management",
"homepage": "https://github.com/2Toad/reflex",
"author": "2Toad",
"license": "MIT",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"scripts": {
"clean": "npx rimraf dist",
"build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:types": "tsc -p tsconfig.types.json",
"local": "npm run clean && nodemon src/index.ts",
"local:pack": "npm run build && npm pack",
"test": "mocha -r ts-node/register tests/unit/*.spec.ts",
"test:watch": "mocha -r ts-node/register --watch --watch-files tests --watch-extensions ts 'tests/unit/*.spec.ts'",
"test:e2e": "npm run build && playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:debug": "playwright test --debug",
"test:package": "./test-package.sh",
"test:all": "npm run test && npm run test:e2e && npm run test:package",
"lint": "eslint . --cache",
"lint:fix": "eslint . --fix",
"format": "prettier . --write",
"prepublishOnly": "npm run lint && npm run test:all",
"postinstall": "husky"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/2Toad/reflex.git"
},
"keywords": [
"reflex",
"reactive",
"computed",
"deep-reactive",
"state-management",
"typescript",
"framework-agnostic",
"zero-dependencies",
"reactivity",
"observable",
"proxy",
"subscription",
"batch-updates"
],
"devDependencies": {
"@eslint/js": "^9.9.1",
"@playwright/test": "^1.50.1",
"@types/chai": "^5.0.1",
"@types/eslint__js": "^8.42.3",
"@types/eslint-config-prettier": "^6.11.3",
"@types/eslint-plugin-security": "^3.0.0",
"@types/mocha": "^10.0.8",
"@types/node": "^22.5.2",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"chai": "^5.2.0",
"eslint": "^9.9.1",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-security": "^3.0.1",
"globals": "^16.0.0",
"husky": "^9.1.5",
"lint-staged": "^15.2.10",
"mocha": "^11.1.0",
"nodemon": "^3.1.4",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"typescript": "^5.5.4",
"typescript-eslint": "^8.4.0"
},
"overrides": {
"inflight": "^2.0.0",
"glob": "^9.0.0"
},
"lint-staged": {
"*.ts": "eslint --cache --fix",
"*": "prettier --write"
}
}