Changeset View
Changeset View
Standalone View
Standalone View
package.json
{ | { | ||||
"name": "swh-web", | "name": "swh-web", | ||||
"version": "0.0.182", | "version": "0.0.182", | ||||
"description": "Static assets management for swh-web", | "description": "Static assets management for swh-web", | ||||
"scripts": { | "scripts": { | ||||
"build-dev": "NODE_ENV=development webpack --config ./swh/web/assets/config/webpack.config.development.js --display-modules --progress --colors", | "build-dev": "NODE_ENV=development webpack --config ./swh/web/assets/config/webpack.config.development.js --display-modules --progress --colors", | ||||
"start-dev": "NODE_ENV=development nodemon --watch swh/web/api --watch swh/web/browse --watch swh/web/templates --watch swh/web/common --watch swh/web/settings --watch swh/web/assets/config --ext py,html,js --exec \"webpack-dev-server --config ./swh/web/assets/config/webpack.config.development.js --progress --colors\"", | "start-dev": "NODE_ENV=development nodemon --watch swh/web/api --watch swh/web/browse --watch swh/web/templates --watch swh/web/common --watch swh/web/settings --watch swh/web/assets/config --ext py,html,js --exec \"webpack-dev-server --config ./swh/web/assets/config/webpack.config.development.js --progress --colors\"", | ||||
"build": "NODE_ENV=production webpack --config ./swh/web/assets/config/webpack.config.production.js --display-modules --progress --colors" | "build": "NODE_ENV=production webpack --config ./swh/web/assets/config/webpack.config.production.js --display-modules --progress --colors", | ||||
"test": "jest" | |||||
anlambert: Since the addition of cypress tests, we must ensure `jest` will not try to execute them. | |||||
}, | }, | ||||
"repository": { | "repository": { | ||||
"type": "git", | "type": "git", | ||||
"url": "https://forge.softwareheritage.org/source/swh-web" | "url": "https://forge.softwareheritage.org/source/swh-web" | ||||
}, | }, | ||||
"author": "The Software Heritage developers", | "author": "The Software Heritage developers", | ||||
"license": "AGPL-3.0-or-later", | "license": "AGPL-3.0-or-later", | ||||
"devDependencies": { | "devDependencies": { | ||||
Show All 27 Lines | "devDependencies": { | ||||
"exports-loader": "^0.7.0", | "exports-loader": "^0.7.0", | ||||
"expose-loader": "^0.7.5", | "expose-loader": "^0.7.5", | ||||
"file-loader": "^3.0.1", | "file-loader": "^3.0.1", | ||||
"font-awesome": "^4.7.0", | "font-awesome": "^4.7.0", | ||||
"highlight.js": "^9.15.6", | "highlight.js": "^9.15.6", | ||||
"highlightjs-line-numbers.js": "^2.6.0", | "highlightjs-line-numbers.js": "^2.6.0", | ||||
"iframe-resizer": "^3.6.5", | "iframe-resizer": "^3.6.5", | ||||
"imports-loader": "^0.8.0", | "imports-loader": "^0.8.0", | ||||
"jest": "^24.1.0", | |||||
"jquery": "^3.3.1", | "jquery": "^3.3.1", | ||||
"js-cookie": "^2.2.0", | "js-cookie": "^2.2.0", | ||||
"less": "^3.9.0", | "less": "^3.9.0", | ||||
"less-loader": "^4.1.0", | "less-loader": "^4.1.0", | ||||
"mini-css-extract-plugin": "^0.5.0", | "mini-css-extract-plugin": "^0.5.0", | ||||
"node-sass": "^4.11.0", | "node-sass": "^4.11.0", | ||||
"nodemon": "^1.18.9", | "nodemon": "^1.18.9", | ||||
"object-fit-images": "^3.2.4", | "object-fit-images": "^3.2.4", | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |
Since the addition of cypress tests, we must ensure jest will not try to execute them.
Modifying the command to jest swh/web/assets/* seems sufficient to do so.