Skip to content

Commit fad463f

Browse files
author
Jane
committed
Merge branch 'viewer-poc' into feature/image-viewer
* viewer-poc: consolidate new npm scripts
2 parents 3102001 + 28c3977 commit fad463f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.platform.app.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ hooks:
6161
cp -R node_modules/@nationalarchives/frontend/nationalarchives/assets/* templates/static/assets
6262
npm run compile
6363
npm run copy
64-
npm run create-tify
65-
npm run copy-tify
6664
6765
poetry run python manage.py collectstatic --no-input
6866
deploy: |

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"test": "jest --coverage",
1313
"lint": "prettier --check '{scripts,sass}/**/*.{scss,js}' && stylelint 'sass/**/*.scss' && eslint 'scripts/**/*.js'",
1414
"lint:fix": "prettier --write '{scripts,sass}/**/*.{scss,js}' && stylelint --fix 'sass/**/*.scss' && eslint --fix 'scripts/**/*.js'",
15-
"copy": "npm run copy-uv-dist-umd && npm run copy-uv-html && npm run copy-uv-css",
15+
"copy": "npm run copy-uv-dist-umd && npm run copy-uv-html && npm run copy-uv-css && npm run create-tify && npm run copy-tify",
1616
"copy-uv-dist-umd": "cp -R node_modules/universalviewer/dist/umd 'templates/static/uv'",
1717
"copy-uv-html": "cp -R node_modules/universalviewer/dist/uv.html 'templates/static/uv'",
1818
"copy-uv-css": "cp -R node_modules/universalviewer/dist/uv.css 'templates/static/uv'",

0 commit comments

Comments
 (0)