Skip to content

Commit

Permalink
chore: cleanup package.json, and mark fsevents as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
rigor789 committed May 20, 2024
1 parent b0a926b commit 9d2ec7c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 13 deletions.
10 changes: 9 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
{
"useTabs": true
"useTabs": true,
"overrides": [
{
"files": "*.json",
"options": {
"useTabs": false
}
}
]
}
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nativescript",
"preferGlobal": true,
"main": "./lib/nativescript-cli-lib.js",
"version": "8.7.1",
"author": "NativeScript <[email protected]>",
"description": "Command-line interface for building NativeScript projects",
Expand All @@ -10,7 +10,6 @@
"nsc": "./bin/tns",
"ns": "./bin/tns"
},
"main": "./lib/nativescript-cli-lib.js",
"files": [
"bin/*",
"config",
Expand Down Expand Up @@ -117,7 +116,6 @@
"xml2js": "0.6.2",
"yargs": "17.7.1"
},
"analyze": true,
"devDependencies": {
"@types/archiver": "^5.3.2",
"@types/byline": "^4.2.33",
Expand Down Expand Up @@ -171,27 +169,30 @@
"sinon": "15.0.3",
"source-map-support": "0.5.21"
},
"license": "Apache-2.0",
"engines": {
"node": ">=10.0.0"
},
"lint-staged": {
"*.ts": "prettier --write"
},
"bundleDependencies_comment1": "These dependencies are bundled in the CLI and are not installed from npm to avoid deprecation warnings.",
"bundleDependencies_comment2": "Eventually we'll remove them as we replaced their functionality.",
"bundleDependencies_comment3": "note: @npmcli/move-file is a transient dep of pacote - we dont use it directly.",
"bundleDependencies": [
"@npmcli/move-file",
"stringify-package",
"fsevents"
"stringify-package"
],
"optionalDependencies": {
"fsevents": "*"
},
"overrides": {
"jimp": {
"xml2js": "0.6.2"
},
"npm-watch": {
"nodemon": "3.0.3"
}
},
"analyze": true,
"license": "Apache-2.0",
"engines": {
"node": ">=14.0.0"
},
"lint-staged": {
"*.ts": "prettier --write"
}
}

0 comments on commit 9d2ec7c

Please sign in to comment.