Initial commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"name": "nimbling",
|
||||||
|
"version": "0.1.1",
|
||||||
|
"private": true,
|
||||||
|
"description": "Nim → WASM / JS toolchain with Vite integration",
|
||||||
|
"workspaces": [
|
||||||
|
"packages/*"
|
||||||
|
],
|
||||||
|
"scripts": {
|
||||||
|
"build": "npm run build --workspaces",
|
||||||
|
"test": "npm run test --workspaces && npm run test:e2e",
|
||||||
|
"test:e2e": "node tests/e2e/test.mjs",
|
||||||
|
"lint": "eslint packages/*/src/**/*.ts",
|
||||||
|
"format": "prettier --write packages/*/src/**/*.{ts,js,mjs}"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/node": "^20.0.0",
|
||||||
|
"eslint": "^8.57.0",
|
||||||
|
"prettier": "^3.2.0",
|
||||||
|
"typescript": "^5.4.0",
|
||||||
|
"vite": "^5.2.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18.0.0"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/katehonz/nimbling.git"
|
||||||
|
},
|
||||||
|
"license": "MIT",
|
||||||
|
"author": "BaraDB Team"
|
||||||
|
}
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
{
|
||||||
|
"name": "vite-plugin-nimbling",
|
||||||
|
"version": "0.1.1",
|
||||||
|
"description": "Vite plugin for Nim → WASM / JS compilation with HMR",
|
||||||
|
"main": "./dist/index.js",
|
||||||
|
"module": "./dist/index.mjs",
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/index.mjs",
|
||||||
|
"require": "./dist/index.js",
|
||||||
|
"types": "./dist/index.d.ts"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"dist",
|
||||||
|
"README.md"
|
||||||
|
],
|
||||||
|
"scripts": {
|
||||||
|
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
|
||||||
|
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
||||||
|
"test": "vitest run",
|
||||||
|
"prepublishOnly": "npm run build"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"execa": "^8.0.1",
|
||||||
|
"picocolors": "^1.0.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"vite": "^5.0.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"tsup": "^8.0.2",
|
||||||
|
"typescript": "^5.4.0",
|
||||||
|
"vitest": "^1.4.0"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"vite",
|
||||||
|
"plugin",
|
||||||
|
"nim",
|
||||||
|
"wasm",
|
||||||
|
"hmr",
|
||||||
|
"nimbling"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/katehonz/nimbling.git",
|
||||||
|
"directory": "packages/vite-plugin"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user