👻 Fix player script name

As Amplitude is also the name of a tracking service, the script gets blocked by extensions like uBlock Origin.
This commit is contained in:
Dennis Reimann
2020-11-23 09:49:13 +01:00
parent 9dbda110dc
commit 382ea54c81
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
"scripts": {
"clean": "rm -rf dist generated && mkdir -p dist generated",
"fetch": "node tasks/fetch_feed.js",
"copy": "cp -r static/* dist && cp node_modules/amplitudejs/dist/amplitude.min.js dist/js/amplitude.js",
"copy": "cp -r static/* dist && cp node_modules/amplitudejs/dist/amplitude.min.js dist/js/player.js",
"init": "npm-run-all clean -p fetch copy build:data",
"start": "NODE_ENV=development npm-run-all init -p start:*",
"start:data": "onchange -k 'content/**/*' -- npm run build:data",