NPM package.json name property can't have non-URL safe characters, so it's more suited to using the 'packageName' than the 'title'.

This also helps when using tools like electron-packager, which use the package name as a folder name.

Spec:
https://docs.npmjs.com/files/package.json
This commit is contained in:
Thomas Byrne
2019-01-17 17:00:53 +11:00
committed by Joshua Granick
parent 4bd853dfb1
commit e7ec14795e

View File

@@ -1,5 +1,5 @@
{
"name": "::meta.title::",
"name": "::meta.packageName::",
"version": "::meta.version::",
"main": "ElectronSetup.js",
"scripts": {