Astro+Directus(Visual-Editing)+Snipcart Test-Stack
This commit is contained in:
+76
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"name": "magicast",
|
||||
"version": "0.5.3",
|
||||
"description": "Modify a JS/TS file and write back magically just like JSON!",
|
||||
"repository": "unjs/magicast",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./core": "./dist/core.js",
|
||||
"./helpers": "./dist/helpers.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/parser": "^7.29.3",
|
||||
"@babel/types": "^7.29.0",
|
||||
"source-map-js": "^1.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^25.7.0",
|
||||
"@vitest/coverage-v8": "^4.1.6",
|
||||
"@vitest/ui": "^4.1.6",
|
||||
"ast-types": "^0.16.1",
|
||||
"bumpp": "^11.1.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint-config-unjs": "^0.6.2",
|
||||
"giget": "^3.2.0",
|
||||
"jiti": "^2.7.0",
|
||||
"nano-staged": "^1.0.2",
|
||||
"prettier": "^3.8.3",
|
||||
"recast": "^0.23.11",
|
||||
"simple-git-hooks": "^2.13.1",
|
||||
"source-map": "npm:source-map-js@latest",
|
||||
"taze": "^19.11.0",
|
||||
"tsdown": "^0.22.0",
|
||||
"tsx": "^4.21.0",
|
||||
"typescript": "^6.0.3",
|
||||
"vitest": "^4.1.6",
|
||||
"magicast": "0.5.3"
|
||||
},
|
||||
"resolutions": {
|
||||
"source-map": "npm:source-map-js@latest"
|
||||
},
|
||||
"simple-git-hooks": {
|
||||
"pre-commit": "pnpm nano-staged"
|
||||
},
|
||||
"nano-staged": {
|
||||
"*.{ts,js,mjs,cjs}": [
|
||||
"eslint --fix",
|
||||
"prettier -w"
|
||||
]
|
||||
},
|
||||
"inlinedDependencies": {
|
||||
"recast": "0.23.11",
|
||||
"source-map-js": "1.2.1"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsdown",
|
||||
"dev": "vitest dev",
|
||||
"dev:ui": "vitest dev --ui",
|
||||
"lint": "eslint --cache . && prettier -c .",
|
||||
"lint:fix": "eslint --cache . --fix && prettier -c . -w",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"release": "pnpm run test run && bumpp",
|
||||
"test": "vitest",
|
||||
"test:build": "TEST_BUILD=true vitest",
|
||||
"test:full": "pnpm run test --run && pnpm run build && pnpm run test:build --run"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user