0c18acc452
* chore(core): move limits logic into shared * feat(comments): limit text and rawText for comments * chore(core): removed test moved to shared * chore(comments): generate gql types * feat(comments): rework comment history limits * chore(comments): fix tests * chore(shared): add dayjs as dependency --------- Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
148 lines
3.9 KiB
JSON
148 lines
3.9 KiB
JSON
{
|
|
"name": "@speckle/shared",
|
|
"version": "2.20.0-alpha4",
|
|
"description": "Shared code between various Speckle JS packages",
|
|
"homepage": "https://speckle.systems",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/specklesystems/speckle-server.git",
|
|
"directory": "packages/shared"
|
|
},
|
|
"type": "module",
|
|
"main": "./dist/commonjs/index.js",
|
|
"types": "./dist/commonjs/index.d.ts",
|
|
"scripts": {
|
|
"build": "NODE_ENV=production tshy",
|
|
"dev": "tshy --watch",
|
|
"prepack": "yarn build",
|
|
"lint:eslint": "eslint .",
|
|
"lint:tsc": "tsc --noEmit",
|
|
"lint": "yarn lint:eslint && yarn lint:tsc",
|
|
"lint:ci": "yarn lint:tsc",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:coverage": "vitest --coverage",
|
|
"test:single-run": "vitest run"
|
|
},
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"author": "AEC Systems",
|
|
"license": "Apache-2.0",
|
|
"keywords": [
|
|
"speckle",
|
|
"aec",
|
|
"3d"
|
|
],
|
|
"dependencies": {
|
|
"dayjs": "^1.11.13",
|
|
"lodash": "^4.17.21",
|
|
"lodash-es": "^4.17.21",
|
|
"nanoid": "^5.1.5",
|
|
"true-myth": "^8.5.0",
|
|
"type-fest": "^3.11.1"
|
|
},
|
|
"peerDependencies": {
|
|
"@tiptap/core": "^2.0.0-beta.176",
|
|
"knex": "*",
|
|
"mixpanel": "^0.17.0",
|
|
"pino": "^8.7.0",
|
|
"pino-http": "^8.0.0",
|
|
"pino-pretty": ">=8.0.0",
|
|
"ua-parser-js": "^1.0.38",
|
|
"znv": "^0.4.0",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@tiptap/core": "^2.0.0-beta.176",
|
|
"@types/lodash": "^4.14.184",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/ua-parser-js": "^0.7.39",
|
|
"@typescript-eslint/eslint-plugin": "^7.12.0",
|
|
"@typescript-eslint/parser": "^7.12.0",
|
|
"@vitest/coverage-v8": "^3.0.9",
|
|
"@vitest/ui": "^3.0.9",
|
|
"crypto-random-string": "^5.0.0",
|
|
"eslint": "^9.4.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"knex": "^2.5.1",
|
|
"mixpanel": "^0.17.0",
|
|
"pino": "^8.7.0",
|
|
"pino-http": "^8.0.0",
|
|
"tshy": "^1.14.0",
|
|
"typescript": "^4.5.4",
|
|
"ua-parser-js": "^1.0.38",
|
|
"vitest": "^3.0.7",
|
|
"znv": "^0.4.0",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"stableVersion": "0.1.0",
|
|
"tshy": {
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./package.json": "./package.json",
|
|
"./pinoPrettyTransport.cjs": "./pinoPrettyTransport.cjs",
|
|
"./environment": "./src/environment/index.ts",
|
|
"./observability": "./src/observability/index.ts",
|
|
"./authz": "./src/authz/index.ts",
|
|
"./dist/*": "./dist/*"
|
|
},
|
|
"exclude": [
|
|
"**/*.spec.ts",
|
|
"src/tests/**/*.ts"
|
|
]
|
|
},
|
|
"imports": {
|
|
"#lodash": {
|
|
"require": "lodash",
|
|
"import": "lodash-es"
|
|
}
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/esm/index.d.ts",
|
|
"default": "./dist/esm/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/commonjs/index.d.ts",
|
|
"default": "./dist/commonjs/index.js"
|
|
}
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./pinoPrettyTransport.cjs": "./pinoPrettyTransport.cjs",
|
|
"./environment": {
|
|
"import": {
|
|
"types": "./dist/esm/environment/index.d.ts",
|
|
"default": "./dist/esm/environment/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/commonjs/environment/index.d.ts",
|
|
"default": "./dist/commonjs/environment/index.js"
|
|
}
|
|
},
|
|
"./observability": {
|
|
"import": {
|
|
"types": "./dist/esm/observability/index.d.ts",
|
|
"default": "./dist/esm/observability/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/commonjs/observability/index.d.ts",
|
|
"default": "./dist/commonjs/observability/index.js"
|
|
}
|
|
},
|
|
"./authz": {
|
|
"import": {
|
|
"types": "./dist/esm/authz/index.d.ts",
|
|
"default": "./dist/esm/authz/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/commonjs/authz/index.d.ts",
|
|
"default": "./dist/commonjs/authz/index.js"
|
|
}
|
|
},
|
|
"./dist/*": "./dist/*"
|
|
}
|
|
}
|