Skip to content

Commit

Permalink
feat(nexe): upgrade to node.js 10.13.0 and es2017
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMason committed Dec 23, 2018
1 parent b44c078 commit dddd9ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -79,7 +79,7 @@
"repository": "JamieMason/ImageOptim-CLI",
"scripts": {
"build": "npm run build:ts && npm run build:bin",
"build:bin": "nexe --target 'mac-x64-10.0.0' --input dist/imageoptim.js --output dist/imageoptim",
"build:bin": "nexe --target 'mac-x64-10.13.0' --input dist/imageoptim.js --output dist/imageoptim",
"build:ts": "tsc --project .",
"format": "prettier --write '**/*.md' './src/**/*.ts'",
"lint": "tslint --fix --project ./tsconfig.json",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Expand Up @@ -3,9 +3,10 @@
"declaration": false,
"forceConsistentCasingInFileNames": true,
"lib": ["es6"],
"module": "commonjs",
"outDir": "./dist",
"strict": true,
"target": "es3"
"target": "es2017"
},
"include": ["./package.json", "./src/**/*.ts"]
}

0 comments on commit dddd9ff

Please sign in to comment.