Skip to content

Commit

Permalink
Fix the issue that 'npm install' fail
Browse files Browse the repository at this point in the history
[Issue] #1442
[Problem] Node.js v6.16 doesn't support Object.values()
[Solution] Add the harmony option to enable the Object.values()

Signed-off-by: Hunseop Jeong <hs85.jeong@samsung.com>
  • Loading branch information
HunseopJeong authored and lmslachciak committed Oct 6, 2020
1 parent ef2702e commit 3f42d6a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
"description": "Tizen Advanced UI",
"version": "1.2.7",
"scripts": {
"build": "grunt build",
"build": "node --harmony ./node_modules/.bin/grunt build",
"postinstall": "npm run build",
"grunt": "grunt",
"http-server": "http-server -p 8888 -a localhost",
"preinstall": "./check-node.py && ./install-hooks",
"test": "grunt test",
"test": "node --harmony ./node_modules/.bin/grunt test",
"test:karma": "karma start tests/karma/all.conf.js",
"test:karma-single-test": "karma start tests/karma/single.conf.js",
"lint-check": "lint-diff $TRAVIS_COMMIT_RANGE",
"spellcheck": "cspell 'src/**/*.js' 'src/**/*.html' 'examples/mobile/UIComponents/**/*.js' 'examples/wearable/UIComponents/**/*.js' 'examples/mobile/UIComponents/**/*.html' 'examples/wearable/UIComponents/**/*.html'"
},
"engines" : {
"node": "6.16"
"engines": {
"node": "6.16"
},
"devDependencies": {
"async": "^0.9.2",
Expand Down

0 comments on commit 3f42d6a

Please sign in to comment.