mirror of
https://github.com/directus/directus.git
synced 2026-02-10 15:35:10 -05:00
* Remove return from api cli entrypoint * Add directus-extension cli to extension-sdk The initial version only implements the "build" command. Executing "build" in the root of an extension package bundles the extension to a single distributable and loadable entrypoint. * Update extension docs to use directus-extension build
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "@directus/extension-sdk",
|
|
"version": "9.0.0-rc.81",
|
|
"description": "A toolkit to develop extensions to extend Directus.",
|
|
"main": "dist/cjs/index.js",
|
|
"exports": {
|
|
"import": "./dist/esm/index.js",
|
|
"require": "./dist/cjs/index.js"
|
|
},
|
|
"bin": {
|
|
"directus-extension": "cli.js"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run cleanup && run-p build:*",
|
|
"build:esm": "tsc --project ./tsconfig.json --module ES2015 --outDir ./dist/esm",
|
|
"build:cjs": "tsc --project ./tsconfig.json --module CommonJS --outDir ./dist/cjs",
|
|
"cleanup": "rimraf ./dist",
|
|
"dev": "npm run build -- -- -w --preserveWatchOutput --incremental",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"author": "Nicola Krumschmidt",
|
|
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd",
|
|
"dependencies": {
|
|
"@directus/shared": "9.0.0-rc.81",
|
|
"@rollup/plugin-commonjs": "^19.0.0",
|
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
"@vue/compiler-sfc": "^3.1.1",
|
|
"commander": "^8.0.0",
|
|
"ora": "^5.4.0",
|
|
"rollup": "^2.51.2",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"rollup-plugin-vue": "^6.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"npm-run-all": "4.1.5",
|
|
"rimraf": "3.0.2",
|
|
"typescript": "4.3.4"
|
|
}
|
|
}
|