-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 loc) · 1.99 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
{
"name": "@nosto/nosto-js",
"description": "NostoJS is a wrapper for the Nosto client script, providing an easy way to interact with the Nosto service from your JavaScript or TypeScript applications.",
"version": "1.5.0",
"license": "ISC",
"type": "module",
"files": [
"dist"
],
"main": "./dist/index.cjs.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"directories": {
"doc": "docs",
"test": "test"
},
"keywords": [],
"author": "Nosto",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js"
},
"./client": {
"types": "./dist/client/nosto.d.ts"
},
"./performance": {
"types": "./dist/performance.d.ts",
"import": "./dist/performance.es.js",
"require": "./dist/performance.cjs.js"
},
"./testing": {
"types": "./dist/testing.d.ts",
"import": "./dist/testing.es.js",
"require": "./dist/testing.cjs.js"
}
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build && npm run build-dts && npm run typedoc",
"build-dts": "tsc --noEmit false --emitDeclarationOnly && npm run copy-nosto-dts",
"copy-nosto-dts": "copyfiles -u 1 \"src/client/*.d.ts\" dist",
"test": "vite build && npm run build-dts && vitest --run",
"test-only": "vitest --run",
"lint": "eslint '{src,test}/**/*.ts'",
"preview": "vite preview",
"typedoc": "typedoc src/index.ts src/client/nosto.d.ts src/testing.ts"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@types/eslint-config-prettier": "^6.11.3",
"@types/node": "^22.8.7",
"copyfiles": "^2.4.1",
"eslint": "^9.14.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-barrel-files": "^3.0.1",
"eslint-plugin-prettier": "^5.2.1",
"jsdom": "^26.0.0",
"prettier": "^3.3.3",
"typedoc": "^0.27.2",
"typescript": "^5.5.3",
"typescript-eslint": "^8.12.2",
"vite": "^6.0.3",
"vitest": "^3.0.2"
}
}