Skip to content

Commit a373e95

Browse files
author
cand
committed
init
1 parent d16cf1e commit a373e95

File tree

5 files changed

+1901
-884
lines changed

5 files changed

+1901
-884
lines changed

build.config.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { defineBuildConfig } from 'unbuild'
2+
3+
export default defineBuildConfig({
4+
entries: [
5+
'src/index',
6+
],
7+
declaration: true,
8+
clean: true,
9+
failOnWarn: false,
10+
rollup: {
11+
inlineDependencies: true,
12+
esbuild: {
13+
minify: true,
14+
},
15+
},
16+
})

package.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"name": "pkg-placeholder",
2+
"name": "tempad-dev-plugin-react-native",
33
"type": "module",
44
"version": "0.0.0",
55
"packageManager": "[email protected]",
66
"description": "_description_",
7-
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
7+
"author": "CANntyield <canntyield@gmail.com>",
88
"license": "MIT",
99
"funding": "https://github.com/sponsors/antfu",
10-
"homepage": "https://github.com/antfu/pkg-placeholder#readme",
10+
"homepage": "https://github.com/CANntyield/tempad-dev-plugin-react-native#readme",
1111
"repository": {
1212
"type": "git",
13-
"url": "git+https://github.com/antfu/pkg-placeholder.git"
13+
"url": "git+https://github.com/CANntyield/tempad-dev-plugin-react-native.git"
1414
},
15-
"bugs": "https://github.com/antfu/pkg-placeholder/issues",
15+
"bugs": "https://github.com/CANntyield/tempad-dev-plugin-react-native/issues",
1616
"keywords": [],
1717
"sideEffects": false,
1818
"exports": {
@@ -26,8 +26,8 @@
2626
"dist"
2727
],
2828
"scripts": {
29-
"build": "tsdown",
30-
"dev": "tsdown --watch",
29+
"build": "unbuild",
30+
"dev": "unbuild --stub",
3131
"lint": "eslint",
3232
"prepublishOnly": "nr build",
3333
"release": "bumpp",
@@ -40,6 +40,8 @@
4040
"@antfu/eslint-config": "catalog:cli",
4141
"@antfu/ni": "catalog:cli",
4242
"@antfu/utils": "catalog:inlined",
43+
"@rolldown/binding-darwin-arm64": "catalog:",
44+
"@tempad-dev/plugins": "catalog:",
4345
"@types/node": "catalog:types",
4446
"bumpp": "catalog:cli",
4547
"eslint": "catalog:cli",
@@ -49,6 +51,7 @@
4951
"tsdown": "catalog:cli",
5052
"tsx": "catalog:cli",
5153
"typescript": "catalog:cli",
54+
"unbuild": "catalog:",
5255
"vite": "catalog:cli",
5356
"vitest": "catalog:testing",
5457
"vitest-package-exports": "catalog:testing",

0 commit comments

Comments
 (0)