-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
98 lines (98 loc) · 2.43 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
{
"dependencies": {
"@apollo/client": "^3.7.1",
"@babel/preset-stage-3": "^7.8.3",
"@vitejs/plugin-vue": "^5.1.2",
"graphql": "^16.8.1",
"jest-environment-jsdom": "^29.4.0",
"lux-design-system": "^5.11.0",
"serialize-javascript": "^5.0.1",
"unfetch": "^3.1.1",
"vue": "^3.4.21"
},
"devComments": {
"jquery": "Keep version in sync with jquery-rails, obtained through bundler"
},
"devDependencies": {
"@babel/eslint-parser": "^7.23.3",
"@babel/eslint-plugin": "^7.22.10",
"@babel/plugin-transform-runtime": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.11.1",
"@stylistic/eslint-plugin": "^2.8.0",
"@vue/test-utils": "2.4.6",
"@vue/vue3-jest": "29.2.6",
"babel-jest": "^29.4.0",
"babel-plugin-macros": "^3.1.0",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.9.0",
"jest": "^29.4.0",
"jquery": "^3.7.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"simple-git-hooks": "^2.11.1",
"stylelint": "^16.9.0",
"stylelint-config-standard-scss": "^13.1.0",
"vite": "^5.0.0",
"vite-plugin-ruby": "^5.1.0"
},
"simple-git-hooks": {
"pre-commit": "yarn lint-staged"
},
"lint-staged": {
"*.{js,es6,vue}": [
"prettier --write",
"eslint"
]
},
"scripts": {
"test": "jest",
"test:debug": "node --inspect node_modules/.bin/jest --runInBand",
"lint": "eslint -c eslint.config.mjs",
"format": "prettier . --write",
"prepare": "simple-git-hooks"
},
"jest": {
"verbose": true,
"testEnvironmentOptions": {
"url": "http://localhost/",
"customExportConditions": [
"node",
"node-addons"
]
},
"roots": [
"spec/javascript"
],
"setupFiles": [
"./source/setup-jest.js"
],
"transform": {
".*\\.(js|es6)$": "./node_modules/babel-jest",
".*\\.vue$": "<rootDir>/node_modules/@vue/vue3-jest"
},
"moduleFileExtensions": [
"js",
"es6"
],
"moduleDirectories": [
"node_modules",
"app/javascript",
"app/components"
],
"testEnvironment": "jsdom",
"globals": {
"Global": {
"graphql": {
"uri": "https://figgy.princeton.edu/graphql"
},
"figgy": {
"uri": "https://figgy.princeton.edu"
}
}
}
}
}