-
Notifications
You must be signed in to change notification settings - Fork 53
/
package.json
177 lines (177 loc) · 7.32 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "kbase-narrative-core",
"description": "Core components for the KBase Narrative Interface",
"version": "5.4.2",
"private": true,
"repository": "github.com/kbase/narrative",
"engines": {
"node": ">=20"
},
"devDependencies": {
"@babel/traverse": "^7.26.4",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"@lodder/grunt-postcss": "^3.1.1",
"@wdio/browserstack-service": "^9.4.2",
"@wdio/cli": "^9.4.2",
"@wdio/local-runner": "^9.4.2",
"@wdio/mocha-framework": "^9.4.2",
"@wdio/selenium-standalone-service": "^8.15.0",
"@wdio/spec-reporter": "^9.4.2",
"autoprefixer": "^10.4.20",
"axios": "^1.7.9",
"bootstrap-sass": "^3.4.3",
"chrome-launcher": "^1.1.2",
"chromedriver": "^131.0.3",
"commander": "^12.1.0",
"cssnano": "^7.0.6",
"ejs": "^3.1.10",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"expect-webdriverio": "^5.0.5",
"glob": "^11.0.0",
"globals": "^15.13.0",
"grunt": "^1.6.1",
"grunt-cli": "^1.5.0",
"grunt-contrib-concat": "^2.1.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-regex-replace": "^0.4.0",
"grunt-shell": "^4.0.0",
"grunt-stylelint": "^0.20.1",
"husky": "^9.1.7",
"jasmine-ajax": "^4.0.0",
"jasmine-core": "^5.5.0",
"jasmine-jquery": "^2.1.1",
"jquery-migrate": "^1.4.1",
"karma": "^6.4.4",
"karma-brief-reporter": "^0.2.2",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.1",
"karma-es6-shim": "^1.0.0",
"karma-firefox-launcher": "^2.1.3",
"karma-jasmine": "^5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"karma-jasmine-matchers": "^5.0.0",
"karma-mocha-reporter": "^2.2.5",
"karma-requirejs": "^1.1.0",
"karma-safari-launcher": "^1.0.0",
"lint-staged": "^15.2.11",
"load-grunt-tasks": "^5.1.0",
"msw": "^0.40.2",
"postcss": "^8.4.49",
"postcss-cli": "^11.0.0",
"postcss-discard-comments": "^7.0.0",
"postcss-scss": "^4.0.9",
"postcss-unprefix": "^2.1.4",
"prettier": "^3.4.2",
"puppeteer": "^23.10.4",
"requirejs": "^2.3.7",
"sass": "^1.83.0",
"selenium-standalone": "^10.0.0",
"selenium-webdriver": "^4.27.0",
"string-template": "^1.0.0",
"string.prototype.endswith": "^1.0.2",
"string.prototype.startswith": "^1.0.1",
"stylelint": "^16.12.0",
"stylelint-color-format": "^1.1.0",
"stylelint-config-recommended": "^14.0.1",
"stylelint-config-sass-guidelines": "^12.0.0",
"stylelint-config-standard": "^36.0.0",
"terser": "^5.37.0",
"webdriverio": "^9.0.0"
},
"dependencies": {
"bluebird": "3.7.2",
"bootstrap": "3.4.1",
"bootstrap-slider": "11.0.2",
"bowser": "1.0.0",
"corejs-typeahead": "^1.3.1",
"d3": "3.5.6",
"datatables.net": "1.13.4",
"datatables.net-bs": "1.13.4",
"datatables.net-buttons": "2.3.6",
"datatables.net-buttons-bs": "2.4.1",
"dompurify": "3.2.3",
"dropzone": "5.9.3",
"file-saver": "1.3.4",
"follow-redirects": "1.15.9",
"font-awesome": "4.7.0",
"google-code-prettify": "1.0.5",
"handlebars": "^4.7.8",
"jquery": "2.2.4",
"jquery-nearest": "1.4.0",
"jquery-ui": "^1.14.0",
"jquery.tipsy": "1.0.3",
"js-yaml": "3.14.1",
"kbase-common-js": "https://github.com/kbase/kbase-common-js/archive/refs/tags/v2.16.0.tar.gz",
"kbase-sdk-clients-js": "https://github.com/eapearson/kbase-sdk-clients-js/archive/refs/tags/v0.5.1.tar.gz",
"kbase-service-clients-js": "https://github.com/kbase/kbase-service-clients-js/archive/refs/tags/v3.3.4.tar.gz",
"kbase-ui-plugin-catalog": "https://github.com/kbase/kbase-ui-plugin-catalog/archive/refs/tags/v2.2.5.tar.gz",
"numeral": "2.0.6",
"plotly.js-dist-min": "2.35.3",
"pure-uuid": "1.8.1",
"require-css": "0.1.10",
"require-yaml": "github:m90/require-yaml",
"requirejs-domready": "2.0.3",
"requirejs-json": "0.0.3",
"requirejs-plugins": "1.0.2",
"select2": "4.0.13",
"select2-bootstrap-theme": "0.1.0-beta.10",
"spark-md5": "3.0.2",
"text": "github:requirejs/text",
"underscore": "1.13.7",
"word-wrap": "1.2.5"
},
"browserslist": [
"defaults"
],
"scripts": {
"py-format": "ruff format .",
"py-format-files": "ruff format ",
"py-lint": "ruff check .",
"py-lint-files": "ruff check ",
"py-lint-files-exit-zero": "ruff check --exit-zero ",
"py-lint-fix": "ruff check --fix .",
"py-lint-fix-files": "ruff check --fix ",
"compile_css_no_postcss": "sass kbase-extension/scss/:kbase-extension/static/kbase/css/",
"compile_css": "sass kbase-extension/scss/:kbase-extension/static/kbase/css/ && grunt postcss:concat",
"compile_css_files": "sass kbase-extension/scss/:kbase-extension/static/kbase/css/ && grunt postcss:concat && git add kbase-extension/static/kbase/css/all_concat.* && echo integrating scss changes from ",
"eslint": "eslint --fix '**/*.js'",
"eslint-check": "eslint '**/*.js'",
"eslint-pre-push": "scripts/eslint-pre-push.sh",
"headless": "kbase-narrative --no-browser --ServerApp.allow_origin='*' --ip=127.0.0.1 --port=32323",
"husky_msg": "echo Running git hooks -- see the 'lint-staged' section of package.json for details",
"install-npm": "node scripts/install-npm.js",
"minify": "npm run requirejs && npm run uglify && grunt regex-replace",
"prettier_check": "prettier --check '**/*.js'",
"prettier_debug": "prettier --debug-check '**/*.js'",
"prettier": "prettier --write '**/*.js'",
"prettier-pre-push": "scripts/prettier-pre-push.sh",
"requirejs": "r.js -o build.js",
"sassv": "sass --version",
"stylelint": "stylelint --config .stylelintrc.yaml --fix kbase-extension/scss/**/*.scss",
"tdd": "karma start test/unit/karma.local.conf.js --auto-watch --no-single-run",
"test_isolated": "karma start test/unit/karma.isolated.conf.js",
"test_chrome": "karma start test/unit/karma.local.conf.js --browsers=Chrome --single-run=false",
"test_firefox": "karma start test/unit/karma.local.conf.js --browsers=Firefox --single-run=false",
"test_local": "karma start test/unit/karma.local.conf.js",
"test": "karma start test/unit/karma.conf.js",
"uglify": "terser kbase-extension/static/kbase-narrative.js -c --source-map --output kbase-extension/static/kbase-narrative-min.js",
"update_browserslist": "npx update-browserslist-db@latest",
"watch_css": "grunt watch"
},
"lint-staged": {
"*.js": [
"npx eslint --fix",
"npx prettier --ignore-unknown --write"
],
"*.py": [
"npm run py-format-files",
"npm run py-lint-files-exit-zero"
],
"*.{scss,css,css.map}": [
"npm run compile_css_files"
]
}
}