-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 3.01 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "@mitodl/course-search-utils",
"version": "3.3.2",
"description": "JS utils for interacting with MIT Open Course search",
"main": "dist/index.js",
"files": [
"dist/"
],
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
},
"./react-router": {
"import": "./dist/esm/react-router/index.js",
"require": "./dist/cjs/react-router/index.js",
"default": "./dist/esm/react-router/index.js"
},
"./next": {
"import": "./dist/esm/next/index.js",
"require": "./dist/cjs/next/index.js",
"default": "./dist/esm/next/index.js"
}
},
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
"lint:cache": "eslint src --ext .js,.jsx,.ts,.tsx --cache",
"fmt": "LOG_LEVEL= prettier-eslint --write --no-semi $PWD/'src/**/*.ts' $PWD/'src/**/*.tsx'",
"fmt:check": "LOG_LEVEL= prettier-eslint --list-different --no-semi $PWD/'src/**/*.ts' $PWD/'src/**/*.tsx'",
"typecheck": "tsc --noEmit",
"prepack": "npm run build",
"repl": "ts-node",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"build": "rm -rf dist && rm -f .tsbuildinfo && npm run build:esm && npm run build:cjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mitodl/course-search-utils.git"
},
"keywords": [
"JS",
"React"
],
"author": "MITOL",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/mitodl/course-search-utils/issues"
},
"homepage": "https://github.com/mitodl/course-search-utils#readme",
"dependencies": {
"@mitodl/open-api-axios": "2024.9.16",
"@remixicon/react": "^4.2.0",
"axios": "^1.6.7",
"fuse.js": "^7.0.0"
},
"devDependencies": {
"@babel/preset-typescript": "^7.25.7",
"@swc/core": "^1.5.7",
"@swc/jest": "^0.2.36",
"@testing-library/react": "15",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.0.1",
"@types/next": "^9.0.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"eslint": "8.57.1",
"eslint-config-mitodl": "^2.0.0",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^4.6.2",
"jest": "^29.0.3",
"jest-environment-jsdom": "^29.7.0",
"next": "^14.2.7",
"prettier-eslint-cli": "^8.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router": "^6.22.2",
"tiny-invariant": "^1.3.3",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"peerDependencies": {
"@types/history": "^4.9",
"next": "^14.2.7",
"react": "^16.13.1",
"react-router": "^6.22.2"
},
"peerDependenciesMeta": {
"history": {
"optional": true
},
"react-router": {
"optional": true
},
"next": {
"optional": true
},
"@types/history": {
"optional": true
}
},
"packageManager": "[email protected]"
}