forked from ucfopen/Obojobo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 3.82 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
{
"private": true,
"name": "obojobo-next",
"repository": "https://github.com/ucfopen/Obojobo.git",
"homepage": "https://ucfopen.github.io/Obojobo-Docs/",
"license": "AGPL-3.0-only",
"scripts": {
"build": "cd node_modules/obojobo-express && yarn build",
"db:rebuild": "cd node_modules/obojobo-express && yarn db:rebuild",
"clean": "rm -rf node_modules && rm -rf ./packages/*/*/node_modules",
"dev": "cd node_modules/obojobo-express && yarn dev",
"heroku-postbuild": "yarn build",
"lint": "lerna run lint",
"lint:css": "lerna run lint:css",
"lint:js": "lerna run lint:js",
"precommit": "lerna run precommit --concurrency 1 && yarn test:ci --bail",
"prettier:run": "lerna run prettier:run",
"release:publish": "lerna publish from-package",
"release:tag": "lerna version --no-push --sign-git-commit --sign-git-tag --no-commit-hooks --force-publish",
"version": "yarn update-project-version && yarn update-docker-app-version",
"update-project-version": "node bin/update-version.js",
"update-docker-app-version": "export VERSION=$(node -p -e \"require('./lerna.json').version\") && sed -i .bak 's/.*\"version\".*/ \"version\": \"'\"$VERSION\"'\",/' ./docker/obojobo-pm2-server-src/package.json && git add ./docker/obojobo-pm2-server-src/package.json",
"start": "start_obojobo_server",
"test": "TZ='America/New_York' jest --verbose",
"test:ci": "TZ='America/New_York' CI=true jest --ci --useStderr --coverage --coverageReporters text-summary cobertura",
"test:ci:each": "lerna run test:ci",
"postinstall": "husky install"
},
"devDependencies": {
"husky": "^6.0.0",
"jest-runner-eslint": "^0.10.0",
"lerna": "^4.0.0",
"nodemon": "^2.0.4"
},
"resolutions": {
"node-gyp": "^8.0.0"
},
"jest": {
"projects": [
"<rootDir>/packages/*/*",
{
"runner": "jest-runner-eslint",
"displayName": "lint",
"testMatch": [
"<rootDir>/packages/*/*/**/*.js"
],
"testPathIgnorePatterns": [
"<rootDir>.*\\.min\\.js$",
"<rootDir>.*\\.custom\\.js$",
"<rootDir>.*/migrations/.*",
"<rootDir>.*obojobo-express/public/picker/.*",
"<rootDir>.*stylelint-config-obojobo/.*"
]
}
],
"transformIgnorePatterns": [
"<rootDir>.*(node_modules)(?!.*obojobo-.*).*$"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"workspaces": [
"packages/app/obojobo-document-engine",
"packages/app/obojobo-document-xml-parser",
"packages/app/obojobo-document-json-parser",
"packages/app/obojobo-express",
"packages/app/obojobo-module-selector",
"packages/app/obojobo-repository",
"packages/obonode/obojobo-chunks-abstract-assessment",
"packages/obonode/obojobo-chunks-action-button",
"packages/obonode/obojobo-chunks-break",
"packages/obonode/obojobo-chunks-code",
"packages/obonode/obojobo-chunks-figure",
"packages/obonode/obojobo-chunks-heading",
"packages/obonode/obojobo-chunks-html",
"packages/obonode/obojobo-chunks-iframe",
"packages/obonode/obojobo-chunks-list",
"packages/obonode/obojobo-chunks-materia",
"packages/obonode/obojobo-chunks-math-equation",
"packages/obonode/obojobo-chunks-multiple-choice-assessment",
"packages/obonode/obojobo-chunks-numeric-assessment",
"packages/obonode/obojobo-chunks-question",
"packages/obonode/obojobo-chunks-question-bank",
"packages/obonode/obojobo-chunks-table",
"packages/obonode/obojobo-chunks-text",
"packages/obonode/obojobo-chunks-youtube",
"packages/obonode/obojobo-modules-module",
"packages/obonode/obojobo-pages-page",
"packages/obonode/obojobo-sections-assessment",
"packages/obonode/obojobo-sections-content",
"packages/util/eslint-config-obojobo",
"packages/util/obojobo-lib-utils",
"packages/util/stylelint-config-obojobo"
],
"engines": {
"yarn": "^1.15.2",
"node": "^14.16.0"
},
"version": "12.1.0-alpha.0"
}