-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
109 lines (109 loc) · 2.94 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
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
101
102
103
104
105
106
107
108
109
{
"name": "libx",
"version": "1.0.0-alpha.4",
"description": "Collection + Model library for MobX",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"engines": {},
"scripts": {
"build": "rimraf lib && tsc -p tsconfig.build.json && rollup -c",
"test": "jest",
"check": "tsc -p tsconfig.json --noEmit --pretty",
"lint": "npm run check && eslint --fix \"{src,examples}/**/*.ts\" && prettier --write \"{src,examples}/**/*.{ts,js}\"",
"lint:watch": "nodemon --exec npm run lint",
"cover": "npm test -- --coverage",
"coveralls": "npm run cover && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"precommit": "lint-staged",
"publish:pre": "npm run lint && npm run build && npm run cover",
"publish:post": "npm publish && git push --follow-tags",
"release:prerelease": "npm run publish:pre && npm version prerelease && npm run publish:post",
"release:patch": "npm run publish:pre && npm version patch && npm run publish:post",
"release:minor": "npm run publish:pre && npm version minor && npm run publish:post",
"release:major": "npm run publish:pre && npm version major && npm run publish:post"
},
"exports": {
".": {
"import": "./lib/index.mjs",
"types": "./lib/index.d.ts",
"default": "./lib/index.js",
"require": "./lib/index.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/jeffijoe/libx.git"
},
"files": [
"lib",
"LICENSE.md",
"README.md"
],
"directories": {
"lib": "lib"
},
"keywords": [
"mobx",
"backbone",
"tfrp",
"state management",
"react"
],
"author": "Jeff Hansen <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jeffijoe/libx/issues"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"homepage": "https://github.com/jeffijoe/libx#readme",
"devDependencies": {
"@rollup/plugin-typescript": "^12.1.0",
"@types/jest": "^29.5.13",
"@types/node": "^22.7.4",
"chai": "^5.1.1",
"coveralls": "^3.0.6",
"eslint": "^9.12.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"lint-staged": "^15.2.10",
"mobx": "^6.13.3",
"nodemon": "^3.1.7",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"rollup": "^4.24.0",
"ts-jest": "^29.2.5",
"tslib": "^2.7.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.0"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"git add"
]
},
"jest": {
"testRegex": "(/__tests__/.*\\.(test|spec))\\.(ts|tsx|js)$",
"testEnvironment": "node",
"coveragePathIgnorePatterns": [
"/node_modules/",
"__tests__"
],
"testPathIgnorePatterns": [
"<rootDir>/lib"
],
"transform": {
"^.+\\.(j|t)sx?$": "ts-jest"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!lodash-es/.*)"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
]
}
}