Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Karrys <luke@lukekarrys.com>2022-09-20 00:13:49 +0300
committerLuke Karrys <luke@lukekarrys.com>2022-09-20 02:39:21 +0300
commitd3ff2aa9b57d7448c5770ba307118ce4c3b6a888 (patch)
treeba8683405a9078746eb8076c0752093802765558 /smoke-tests
parent83f8942df9440bdcfe6c99ca0c294de6ffb5fc72 (diff)
chore: apply template-oss changes
Diffstat (limited to 'smoke-tests')
-rw-r--r--smoke-tests/.gitignore18
-rw-r--r--smoke-tests/package.json10
2 files changed, 16 insertions, 12 deletions
diff --git a/smoke-tests/.gitignore b/smoke-tests/.gitignore
index 617e50ca0..79af2bfca 100644
--- a/smoke-tests/.gitignore
+++ b/smoke-tests/.gitignore
@@ -4,18 +4,18 @@
/*
# keep these
-!/.eslintrc.local.*
!**/.gitignore
-!/docs/
-!/tap-snapshots/
-!/test/
-!/map.js
-!/scripts/
-!/README*
-!/LICENSE*
-!/CHANGELOG*
!/.eslintrc.js
+!/.eslintrc.local.*
!/.gitignore
!/bin/
+!/CHANGELOG*
+!/docs/
!/lib/
+!/LICENSE*
+!/map.js
!/package.json
+!/README*
+!/scripts/
+!/tap-snapshots/
+!/test/
diff --git a/smoke-tests/package.json b/smoke-tests/package.json
index 59f78602a..829d81952 100644
--- a/smoke-tests/package.json
+++ b/smoke-tests/package.json
@@ -7,10 +7,10 @@
"lint": "eslint \"**/*.js\"",
"postlint": "template-oss-check",
"template-oss-apply": "template-oss-apply --force",
- "lintfix": "npm run lint -- --fix",
+ "lintfix": "node .. run lint -- --fix",
"snap": "tap",
"test": "tap",
- "posttest": "npm run lint"
+ "posttest": "node .. run lint"
},
"repository": {
"type": "git",
@@ -36,7 +36,11 @@
"tap": {
"no-coverage": true,
"timeout": 300,
- "files": "test/index.js"
+ "files": "test/index.js",
+ "nyc-arg": [
+ "--exclude",
+ "tap-snapshots/**"
+ ]
},
"files": [
"bin/",