Files
directus/packages/shared/package.json
Nitwel 5fe28db539 Add Components Package (#15094)
* move components without dependencies to packages

* make every components use vue script setup

* move components and utils from shared to @directus/components

* fix imports

* move over some more components

* get rid of unnecessary isEmpty and notEmpty

* move pagination

* fix missing !

* move groupable components

* move text-overflow and useElementSize

* fix icons not being shown

* add first unit tests

* remove capitalizeFirst

* simple cleanup

* add css-var unit test

* move over most other components

* make every component use script setup

* add some more unit tests

* add more tests and burn v-switch to the ground. 🔥

* add checkbox tests

* start with next test

* add storybook

* add more pages to storybook

* add final stories

* fix stories actions

* improve action fix

* cleaning props and adding tests

* unit tests -.-

* add some documentation to components

* Add docs to each prop

* clean storybook paths

* add more unit tests

* apply v-select fix

* update lock file

* small tweaks

* move back to shared

* fix imports

* fix imports

* cleaning

* stories to typescript

* Fix version number

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-09-01 16:07:31 -04:00

83 lines
2.2 KiB
JSON

{
"name": "@directus/shared",
"version": "9.16.1",
"description": "Code shared between all directus packages.",
"exports": {
"./composables": {
"import": "./dist/esm/composables/index.js",
"require": "./dist/cjs/composables/index.js"
},
"./constants": {
"import": "./dist/esm/constants/index.js",
"require": "./dist/cjs/constants/index.js"
},
"./exceptions": {
"import": "./dist/esm/exceptions/index.js",
"require": "./dist/cjs/exceptions/index.js"
},
"./types": {
"import": "./dist/esm/types/index.js",
"require": "./dist/cjs/types/index.js"
},
"./utils": {
"import": "./dist/esm/utils/index.js",
"require": "./dist/cjs/utils/index.js"
},
"./utils/browser": {
"import": "./dist/esm/utils/browser/index.js",
"require": "./dist/cjs/utils/browser/index.js"
},
"./utils/node": {
"import": "./dist/esm/utils/node/index.js",
"require": "./dist/cjs/utils/node/index.js"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"scripts": {
"build": "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": "pnpm build -- -w --preserveWatchOutput --incremental",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest"
},
"author": "Nicola Krumschmidt",
"maintainers": [
"Rijk van Zanten <rijkvanzanten@me.com>"
],
"dependencies": {
"axios": "^0.27.2",
"date-fns": "2.24.0",
"express": "^4.18.1",
"fs-extra": "10.0.0",
"geojson": "^0.5.0",
"joi": "17.4.2",
"knex": "2.2.0",
"knex-schema-inspector": "2.0.4",
"lodash": "4.17.21",
"micromustache": "^8.0.3",
"nanoid": "^4.0.0",
"pino": "6.13.3",
"vue": "3.2.36",
"vue-i18n": "9.1.10",
"vue-router": "4.0.15"
},
"devDependencies": {
"@types/express": "4.17.13",
"@types/fs-extra": "9.0.13",
"@types/geojson": "7946.0.8",
"@types/lodash": "^4.14.182",
"@types/pino": "6.3.12",
"@types/tmp": "^0.2.3",
"c8": "^7.12.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.2",
"tmp": "0.2.1",
"typescript": "4.5.2",
"vitest": "^0.18.1"
}
}