Skip to content

Instantly share code, notes, and snippets.

@p-chan
Last active October 19, 2019 06:26
Show Gist options
  • Save p-chan/4a1f6e0a94d58489b34099ceb58fd649 to your computer and use it in GitHub Desktop.
Save p-chan/4a1f6e0a94d58489b34099ceb58fd649 to your computer and use it in GitHub Desktop.
Initial commitを支える技術
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

name

A description

// https://docs.npmjs.com/files/package.json
{
"name": "",
"version": "",
"description": "",
"keywords": [],
"homepage": "",
"bugs": "",
"license": "",
"author": "",
"contributors": [],
"files": [],
"main": "",
"bin": "",
"man": "",
"directories": [],
"repository": "",
"scripts": {},
"config": {},
"dependencies": {},
"devDependencies": {},
"peerDependencies": {},
"bundledDependencies": {},
"optionalDependencies": {},
"engines": {},
"os": [],
"cpu": [],
"preferGlobal": bool,
"private": bool,
"publishConfig": ""
}
{
"name": "app",
"version": "0.0.0",
"description": "A app",
"license": "UNLICENSED",
"author": "P-Chan <hello@0x50.io> (https://0x50.io/)",
"scripts": {},
"dependencies": {},
"devDependencies": {},
"private": true
}
git config --local user.name "P-Chan"
git config --local user.email "hello@0x50.io"
MIT License
Copyright (c) 2016 P-Chan
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 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.
# build output
dist
# dependencies
node_modules
# log
npm-debug.log
{
"name": "package",
"version": "0.0.0",
"description": "A package",
"main": "dist/index.js",
"bin": {
"package": "./bin/package"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"key",
"key",
"key"
],
"author": "P-Chan <hello@0x50.io> (https://0x50.io/)",
"license": "MIT",
"dependencies": {},
"devDependencies": {},
"engines": {
"node": ">= 4.0.0"
},
"private": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment