generated from graasp/graasp-repo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
79 lines (79 loc) · 2.27 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "@graasp/sdk",
"version": "5.5.0",
"description": "Development kit including type definitions and util functions for the Graasp ecosystem.",
"license": "AGPL-3.0-only",
"repository": "git@github.com:graasp/graasp-sdk.git",
"author": "Graasp",
"contributors": [
"Kim Lan Phan Hoang",
"Basile Spaenlehauer"
],
"type": "module",
"sideEffects": false,
"files": [
"esm",
"cjs"
],
"exports": {
".": {
"import": {
"types": "./esm/index.d.ts",
"default": "./esm/index.js"
},
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
}
}
},
"scripts": {
"build": "yarn build:cjs && yarn build:esm",
"build:cjs": "unbuild && tsc-alias -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > cjs/package.json",
"build:esm": "tsc -p tsconfig.esm.json && tsc-alias -p tsconfig.esm.json && echo '{\"type\": \"module\"}' > esm/package.json",
"test": "vitest",
"type-check": "tsc --noEmit",
"lint": "eslint ./src",
"prettier:check": "prettier --check src/**/*.ts",
"prettier:write": "prettier --write src/**/*.ts",
"check": "yarn prettier:check && yarn lint && yarn type-check",
"pre-commit": "yarn check",
"prepack": "yarn build",
"prepare": "yarn prepack && yarn hooks",
"hooks": "husky"
},
"dependencies": {
"@faker-js/faker": "9.2.0",
"filesize": "10.1.6",
"js-cookie": "3.0.5"
},
"peerDependencies": {
"date-fns": "^3 || ^4.0.0",
"uuid": "^9 || ^10 || ^11.0.0"
},
"devDependencies": {
"@commitlint/cli": "19.6.0",
"@commitlint/config-conventional": "19.6.0",
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.15.0",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/eslint": "^9.6.1",
"@types/js-cookie": "3.0.6",
"@types/uuid": "10.0.0",
"@typescript-eslint/eslint-plugin": "8.16.0",
"@typescript-eslint/parser": "8.16.0",
"date-fns": "4.1.0",
"eslint": "9.15.0",
"eslint-config-prettier": "9.1.0",
"husky": "9.1.7",
"jsdom": "25.0.1",
"prettier": "3.4.1",
"tsc-alias": "1.8.10",
"typescript": "5.7.2",
"unbuild": "2.0.0",
"uuid": "11.0.3",
"vite-plugin-dts": "4.3.0",
"vitest": "2.1.6"
},
"packageManager": "yarn@4.5.3"
}