Files
directus/package.json
WoLfulus 3c1204b928 SDK 2.0 (#4510)
* add new sdk

* update version

* fixes and sdk documentation

* typing updates, documentation

* added missing endpoints

* targeting minified version for unpkg

* removed unused types file

* fixed non minified versions

* fix sdk exports

* fix the fix

* Remove old sdk

* Remove old sdk docs

* Install types for Jest, add npm test

* Rely on npm exclusively

* Remove examples folder

* Move typescript down

* Update sdk.md

* added auto refresh and requested changes

added more http test calls
fixed typing issue in customized types

* remove unused endpoint

* updated docs

* added singletons, fixed typing issues, added password handlers

* rename graphql function and fixed system endpoint

* Remove unused imports, fix build

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Ben Haynes <ben@rngr.org>
2021-03-30 18:23:23 -04:00

47 lines
1.3 KiB
JSON

{
"name": "directus-monorepo",
"workspaces": [
"./app",
"./api",
"./docs",
"./packages/*"
],
"scripts": {
"lint": "npm-run-all -p lint:*",
"lint:eslint": "eslint .",
"lint:stylelint": "stylelint .",
"format": "prettier --write \"**/*.{js,vue,ts,md}\"",
"dev": "lerna run dev --stream --parallel",
"build": "lerna run build",
"release": "lerna publish --force-publish",
"postinstall": "npm run build",
"test": "lerna run test",
"cli": "cross-env DIRECTUS_DEV=true NODE_ENV=development DOTENV_CONFIG_PATH=api/.env ts-node -r dotenv/config --script-mode --transpile-only api/src/cli/index.ts"
},
"devDependencies": {
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-prettier-vue": "^2.1.1",
"eslint-plugin-vue": "^7.8.0",
"lerna": "^4.0.0",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"simple-git-hooks": "^2.2.0",
"stylelint": "^13.12.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^21.0.0",
"stylelint-order": "^4.1.0",
"stylelint-scss": "^3.19.0"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,ts,md,vue}": "prettier --write",
"*.{css,scss,vue}": "stylelint --fix"
}
}