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:
committed by
Joshua Granick
parent
4bd853dfb1
commit
e7ec14795e
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "::meta.title::",
|
"name": "::meta.packageName::",
|
||||||
"version": "::meta.version::",
|
"version": "::meta.version::",
|
||||||
"main": "ElectronSetup.js",
|
"main": "ElectronSetup.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user