-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.42 KB
/
Copy pathpackage.json
File metadata and controls
94 lines (94 loc) · 2.42 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
{
"name": "@submodule/core",
"version": "12.5.1",
"description": "Structural way to build node and deno application",
"author": "Lagz0ne <duke@silentium.io>",
"repository": {
"type": "git",
"url": "git+https://github.com/submodule-js/submodule.git"
},
"keywords": [
"ioc",
"configuration",
"structure",
"composition",
"reusable",
"foundation",
"submodule"
],
"license": "MIT",
"homepage": "https://submodule.js.org",
"scripts": {
"dev": "tsup--node --watch",
"test": "vitest run",
"test:react": "vitest run --config vitest.react.config.mts",
"test:types": "tsc -p tsconfig.test.json",
"test:all": "bun run test && bun run test:react && bun run test:types",
"coverage": "vitest run --coverage",
"build": "tsup-node",
"preview": "commit-and-tag-version --dry-run --path . -t @submodule/core",
"bump": "bun run build && commit-and-tag-version --path . -t @submodule/core",
"release": "git push --follow-tags origin main && npm publish --access public"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**",
"package.json",
"README.md",
"CHANGELOG.md"
],
"exports": {
".": {
"source": "./src/index.ts",
"require": "./dist/index.js",
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs"
},
"./react": {
"source": "./src/react/index.tsx",
"require": "./dist/react/index.js",
"types": "./dist/react/index.d.ts",
"import": "./dist/react/index.mjs"
},
"./package.json": "./package.json"
},
"tsup": {
"entry": [
"src/index.ts",
"src/react/index.tsx"
],
"minify": true,
"treeshake": false,
"splitting": true,
"sourcemap": true,
"format": [
"cjs",
"esm"
],
"clean": true,
"dts": true
},
"peerDependencies": {
"typescript": "^5.4.0"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@types/jscodeshift": "^0.12.0",
"@types/node": "^18.11.18",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "2.1.3",
"jest-leak-detector": "^29.7.0",
"jscodeshift": "^17.1.1",
"jsdom": "^25.0.1",
"react-dom": "^19.0.0",
"tsup": "^8.3.5",
"typescript": "^5.4.0",
"vitest": "^2.1.3",
"@testing-library/react": "^16.1.0"
},
"optionalDependencies": {
"react": "^18.0.0 || ^19.0.0"
}
}