Browse Source

set buildtracimlib for windoz as a npm script

Skylsmoi 5 years ago
parent
commit
867ab8d2f5
2 changed files with 1 additions and 1 deletions
  1. 0 1
      frontend_lib/buildtracimlib.sh
  2. 1 0
      frontend_lib/package.json

+ 0 - 1
frontend_lib/buildtracimlib.sh View File

@@ -1 +0,0 @@
1
-npm run buildwindoz && echo '/* eslint-disable */' | cat - dist/tracim_lib.js > temp && mv temp dist/tracim_lib.js && printf '\n/* eslint-enable */\n' >> dist/tracim_lib.js

+ 1 - 0
frontend_lib/package.json View File

@@ -10,6 +10,7 @@
10 10
     "buildwindoz": "set NODE_ENV=production&& webpack -p",
11 11
     "build": "NODE_ENV=production webpack -p",
12 12
     "buildtracimlib": "NODE_ENV=production webpack -p && echo '/* eslint-disable */' | cat - dist/tracim_frontend_lib.js > temp && mv temp dist/tracim_frontend_lib.js && printf '\n/* eslint-enable */\n' >> dist/tracim_frontend_lib.js",
13
+    "buildtracimlibwindoz": "set NODE_ENV=production&& webpack -p && echo '/* eslint-disable */' | cat - dist/tracim_frontend_lib.js > temp && mv temp dist/tracim_frontend_lib.js && printf '\n/* eslint-enable */\n' >> dist/tracim_frontend_lib.js",
13 14
     "test": "echo \"Error: no test specified\" && exit 1"
14 15
   },
15 16
   "author": "",