mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-12 03:45:58 +08:00
Specifying the directory as part of the repository field in a package.json allows third party tools to provide better support when working with monorepos. For example, it allows them to correctly construct a commit diff for a specific package. This format was accepted by npm in [npm/rfcs#19](https://github.com/npm/rfcs/pull/19).
26 lines
541 B
JSON
26 lines
541 B
JSON
{
|
|
"name": "confusing-browser-globals",
|
|
"version": "1.0.6",
|
|
"description": "A list of browser globals that are often used by mistake instead of local variables",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "jest"
|
|
},
|
|
"repository": {
|
|
"type" : "git",
|
|
"url" : "https://github.com/facebook/create-react-app.git",
|
|
"directory": "packages/confusing-browser-globals"
|
|
},
|
|
"keywords": [
|
|
"eslint",
|
|
"globals"
|
|
],
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"devDependencies": {
|
|
"jest": "24.7.1"
|
|
}
|
|
}
|