|
@@ -9,8 +9,9 @@
|
9
|
9
|
"servdev-dashboard": "NODE_ENV=development webpack-dashboard -m -p 9870 -- webpack-dev-server --watch --colors --inline --hot --progress",
|
10
|
10
|
"buildwindoz": "set NODE_ENV=production&& webpack -p",
|
11
|
11
|
"build": "NODE_ENV=production webpack -p",
|
|
12
|
+ "build-translation": "node i18next.scanner.js",
|
12
|
13
|
"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",
|
|
14
|
+ "buildtracimlibwindoz": "set NODE_ENV=production&& webpack -p && echo /* eslint-disable */ | cat - dist/tracim_frontend_lib.js > temp && mv temp dist/tracim_frontend_lib.js && echo /* eslint-enable */>> dist/tracim_frontend_lib.js",
|
14
|
15
|
"test": "echo \"Error: no test specified\" && exit 1"
|
15
|
16
|
},
|
16
|
17
|
"author": "",
|
|
@@ -44,6 +45,7 @@
|
44
|
45
|
"whatwg-fetch": "^2.0.3"
|
45
|
46
|
},
|
46
|
47
|
"devDependencies": {
|
|
48
|
+ "i18next-scanner": "^2.6.1",
|
47
|
49
|
"webpack-dashboard": "^1.1.1",
|
48
|
50
|
"webpack-dev-server": "^2.9.2"
|
49
|
51
|
},
|