aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorShinigami <[email protected]>2022-01-19 19:24:40 +0100
committerGitHub <[email protected]>2022-01-19 19:24:40 +0100
commita273f67066c7c19b01ff4348eb9d7e857615cca6 (patch)
tree203a8137cc55222367919693121f8eaba17a0d96 /package.json
parent61d02960a9132fa2c4d4d7259883b2e944233bb9 (diff)
downloadfaker-a273f67066c7c19b01ff4348eb9d7e857615cca6.tar.xz
faker-a273f67066c7c19b01ff4348eb9d7e857615cca6.zip
chore: switch to pnpm (#153)
Diffstat (limited to 'package.json')
-rw-r--r--package.json32
1 files changed, 20 insertions, 12 deletions
diff --git a/package.json b/package.json
index 624244f6..6bbc6a7e 100644
--- a/package.json
+++ b/package.json
@@ -23,11 +23,24 @@
},
"license": "MIT",
"main": "lib/index.js",
+ "files": [
+ "CHANGELOG.md",
+ "CHANGELOG_old.md",
+ "dist",
+ "index.d.ts",
+ "index.js",
+ "lib",
+ "locale",
+ "tsconfig.json",
+ "vendor"
+ ],
"scripts": {
- "browser": "gulp browser",
+ "preinstall": "npx only-allow pnpm",
"build": "tsc",
+ "browser": "gulp browser",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"docs:build": "vitepress build docs",
+ "docs:build:ci": "run-s build browser docs:build",
"docs:dev": "vitepress dev docs",
"docs:serve": "vitepress serve docs",
"format": "prettier --write .",
@@ -89,6 +102,7 @@
"lint-staged": "~9.5.0",
"lodash": "^4.6.1",
"mocha": "^8.1.1",
+ "npm-run-all": "~4.1.5",
"nyc": "^15.1.0",
"optimist": "0.3.5",
"picocolors": "~1.0.0",
@@ -102,15 +116,9 @@
"vinyl-transform": "^1.0.0",
"vitepress": "^0.21.4"
},
- "files": [
- "CHANGELOG.md",
- "CHANGELOG_old.md",
- "dist",
- "index.d.ts",
- "index.js",
- "lib",
- "locale",
- "tsconfig.json",
- "vendor"
- ]
+ "packageManager": "[email protected]",
+ "engines": {
+ "node": ">=12.0.0",
+ "npm": ">=7.0.0"
+ }
}