-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (66 loc) · 1.52 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": "stars-schema",
"version": "1.0.1",
"description": "A mongoose schema plugin for implementing a stars rating system",
"types": "./dist/cjs/ratings.d.ts",
"main": "./dist/cjs/ratings.js",
"private": false,
"author": "Ichinga Samuel",
"license": "MIT",
"files": [
"dist/**/*"
],
"exports": {
".": {
"import": {
"types": "./dist/esm/ratings.d.ts",
"default": "./dist/esm/ratings.js"
},
"require": {
"types": "./dist/cjs/ratings.d.ts",
"default": "./dist/cjs/ratings.js"
}
}
},
"scripts": {
"clean": "rm -rf ./dist && mkdir dist",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"build:esm": "cp -r esm dist/",
"build:cjs": "cp -r cjs dist/",
"prepack": "npm run build",
"test": "mocha"
},
"release": {
"branches": ["master"]
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Ichinga-Samuel/stars-schema.git"
},
"bugs": {
"url": "https://github.com/Ichinga-Samuel/stars-schema/issues"
},
"homepage": "https://github.com/Ichinga-Samuel/stars-schema#readme",
"keywords": [
"mongoose",
"mongodb",
"stars",
"rating",
"schema",
"plugins"
],
"dependencies": {
"mongoose": "^5.13.5"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"coveralls": "^3.1.1",
"mocha": "^10.2.0",
"mocha-lcov-reporter": "^1.3.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
}
}