nextcloud-initial-state/package.json

55 строки
1.4 KiB
JSON

{
"name": "@nextcloud/initial-state",
"version": "2.2.0",
"description": "Access data from the nextcloud server-side initial state API within apps.",
"homepage": "https://github.com/nextcloud/nextcloud-initial-state#readme",
"author": "Christoph Wurst",
"license": "GPL-3.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/nextcloud/nextcloud-initial-state"
},
"keywords": [
"nextcloud"
],
"files": [
"dist/",
"CHANGELOG.md"
],
"type": "module",
"main": "dist/index.cjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"scripts": {
"build": "vite --mode production build",
"build:doc": "typedoc --out dist/doc lib/index.ts && touch dist/doc/.nojekyll",
"dev": "vite --mode development build --watch",
"lint": "eslint lib test *.ts",
"lint:fix": "eslint --fix lib test *.ts",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest watch"
},
"devDependencies": {
"@nextcloud/eslint-config": "^8.4.1",
"@nextcloud/vite-config": "^2.2.2",
"@types/node": "^20.14.12",
"@vitest/coverage-v8": "^1.6.0",
"eslint": "^8.57.0",
"typedoc": "^0.26.6",
"typescript": "^5.6.2",
"vite": "^5.4.3",
"vitest": "^1.5.0"
},
"engines": {
"node": "^20.0.0",
"npm": "^10.0.0"
}
}