-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 3.71 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
{
"name": "@sprucelabs/spruce-event-utils",
"publishConfig": {
"access": "public"
},
"version": "40.1.312",
"files": [
"build/**/*",
"!build/__tests__",
"tsconfig.json"
],
"main": "./build/index.js",
"types": "./build/index.d.ts",
"module": "./build/esm/index.js",
"sideEffects": false,
"license": "MIT",
"skill": {
"namespace": "spruceEventUtils",
"upgradeIgnoreList": [
"@sprucelabs/spruce-test-fixtures"
]
},
"description": "Some helpful utilities to speed up working with Mercury! 🚅",
"keywords": [
"node",
"sprucelabs"
],
"homepage": "https://github.com/sprucelabsai/spruce-event-utils",
"bugs": {
"url": "https://github.com/sprucelabsai/spruce-event-utils/issues"
},
"scripts": {
"build.ci": "yarn run build.tsc && yarn run build.resolve-paths && yarn run lint",
"build.copy-files": "mkdir -p build && rsync -avzq --exclude='*.ts' ./src/ ./build/",
"build.dev": "yarn run build.tsc --sourceMap ; yarn run resolve-paths.lint",
"build.dist": "tsc --project tsconfig.dist.json && yarn build.resolve-paths && mv build esm && yarn build.esm-postbuild && yarn build.tsc && yarn build.resolve-paths && mv esm build/ && yarn clean.dist",
"build.esm-postbuild": "esm-postbuild --target esm --patterns '**/*.js'",
"build.resolve-paths": "resolve-path-aliases --target build --patterns '**/*.js,**/*.d.ts'",
"build.tsc": "yarn run build.copy-files && tsc",
"clean": "yarn run clean.build",
"clean.all": "yarn run clean.dependencies && yarn run clean.build",
"clean.build": "rm -rf build/",
"clean.dependencies": "rm -rf node_modules/ package-lock.json yarn.lock",
"clean.dist": "rm -rf build/__tests__ build/esm/__tests__",
"fix.lint": "eslint --fix --cache '**/*.ts'",
"lint": "eslint --cache '**/*.ts'",
"lint.tsc": "tsc -p . --noEmit",
"post.watch.build": "yarn run build.copy-files && yarn run build.resolve-paths",
"rebuild": "yarn run clean.all && yarn install && yarn run build.dev",
"release": "semantic-release",
"resolve-paths.lint": "yarn run build.resolve-paths ; yarn run lint",
"test": "jest",
"update.dependencies": "yarn run clean.dependencies && yarn",
"watch.build.dev": "tsc-watch --sourceMap --onCompilationComplete 'yarn run post.watch.build'",
"watch.rebuild": "yarn run clean.all && yarn install && yarn run watch.build.dev",
"watch.tsc": "tsc -w"
},
"dependencies": {
"@sprucelabs/error": "^6.0.536",
"@sprucelabs/mercury-types": "^47.0.592",
"@sprucelabs/schema": "^30.0.552",
"@sprucelabs/spruce-core-schemas": "^40.1.538",
"@sprucelabs/spruce-skill-utils": "^31.0.612",
"@sprucelabs/test-utils": "^5.1.494"
},
"devDependencies": {
"@sprucelabs/esm-postbuild": "^6.0.517",
"@sprucelabs/jest-json-reporter": "^8.0.537",
"@sprucelabs/resolve-path-aliases": "^2.0.513",
"@sprucelabs/semantic-release": "^5.0.2",
"@sprucelabs/test": "^9.0.57",
"@types/memoizee": "^0.4.11",
"@types/node": "^22.8.6",
"chokidar-cli": "^3.0.0",
"eslint": "^9.14.0",
"eslint-config-spruce": "^11.2.26",
"jest": "^29.7.0",
"jest-circus": "^29.7.0",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"tsc-watch": "^6.2.0",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.6.3"
},
"jest": {
"maxWorkers": 4,
"testTimeout": 300000,
"testEnvironment": "node",
"testPathIgnorePatterns": [
"<rootDir>/tmp/",
"<rootDir>/src/",
"<rootDir>/node_modules/",
"<rootDir>/build/__tests__/testDirsAndFiles/",
"<rootDir>/build/esm/"
],
"testMatch": [
"**/__tests__/**/*.test.js?(x)"
],
"moduleNameMapper": {
"^#spruce/(.*)$": "<rootDir>/build/.spruce/$1"
}
}
}