Meta tweaks

This commit is contained in:
Sindre Sorhus 2017-10-23 19:33:07 +07:00
parent f13eeedba5
commit 115ddd3e3f
7 changed files with 57 additions and 66 deletions

View File

@ -7,6 +7,6 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[{package.json,*.yml}]
[*.yml]
indent_style = space
indent_size = 2

1
.gitignore vendored
View File

@ -1 +1,2 @@
node_modules
yarn.lock

1
.npmrc Normal file
View File

@ -0,0 +1 @@
package-lock=false

View File

@ -1,5 +1,6 @@
os: osx
language: node_js
node_js:
- '8'
- '6'
- '4'

2
cli.js
View File

@ -42,7 +42,7 @@ try {
const appInfo = plist.parse(infoPlist);
const appName = appInfo.CFBundleName;
const appIconName = appInfo.CFBundleIconFile.replace(/\.icns/, '');
// `const appIconName = appInfo.CFBundleIconFile.replace(/\.icns/, '');
const dmgPath = `${appName.replace(/ /g, '-')}-${appInfo.CFBundleShortVersionString}.dmg`;
const ora = new Ora('Creating DMG');

20
license
View File

@ -1,21 +1,9 @@
The MIT License (MIT)
MIT License
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,50 +1,50 @@
{
"name": "create-dmg",
"version": "1.3.0",
"description": "Create a good-looking DMG for your macOS app in seconds",
"license": "MIT",
"repository": "sindresorhus/create-dmg",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bin": {
"create-dmg": "cli.js"
},
"engines": {
"node": ">=4"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"cli.js",
"assets"
],
"keywords": [
"cli-app",
"cli",
"create",
"dmg",
"disk",
"image",
"macos",
"mac",
"app",
"application",
"apple"
],
"dependencies": {
"appdmg": "^0.5.1",
"execa": "^0.8.0",
"meow": "^3.4.2",
"ora": "^1.2.0",
"plist": "^2.0.1"
},
"devDependencies": {
"ava": "*",
"tempfile": "^2.0.0",
"xo": "*"
}
"name": "create-dmg",
"version": "1.3.0",
"description": "Create a good-looking DMG for your macOS app in seconds",
"license": "MIT",
"repository": "sindresorhus/create-dmg",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bin": {
"create-dmg": "cli.js"
},
"engines": {
"node": ">=4"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"cli.js",
"assets"
],
"keywords": [
"cli-app",
"cli",
"create",
"dmg",
"disk",
"image",
"macos",
"mac",
"app",
"application",
"apple"
],
"dependencies": {
"appdmg": "^0.5.1",
"execa": "^0.8.0",
"meow": "^3.4.2",
"ora": "^1.2.0",
"plist": "^2.0.1"
},
"devDependencies": {
"ava": "*",
"tempfile": "^2.0.0",
"xo": "*"
}
}