@@ -12,7 +12,7 @@ Array [
12
12
The following package.json fields are incorrect:
13
13
Field: "author" Expected: "GitHub Inc." Found: "Bob"
14
14
Field: "files" Expected: ["bin","lib"] Found: undefined
15
- Field: "scripts" Expected: {"lint":"eslint ' **/*.js' ","postlint":"npm-template-check","template-copy":"npm-template-copy --force","lintfix":"npm run lint -- --fix","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap","test":"tap","posttest":"npm run lint"} Found: undefined
15
+ Field: "scripts" Expected: {"lint":"eslint \\\\" **/*.js\\\\" ","postlint":"npm-template-check","template-copy":"npm-template-copy --force","lintfix":"npm run lint -- --fix","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap","test":"tap","posttest":"npm run lint"} Found: undefined
16
16
Field: "engines" Expected: {"node":"^12.13.0 || ^14.15.0 || >=16"} Found: undefined
17
17
),
18
18
"solution": "npm rm @npmcli/template-oss && npm i -D @npmcli/template-oss",
@@ -27,7 +27,7 @@ Array [
27
27
The following package.json fields are incorrect:
28
28
Field: "author" Expected: "GitHub Inc." Found: undefined
29
29
Field: "files" Expected: ["bin","lib"] Found: undefined
30
- Field: "scripts.lint" Expected: "eslint ' **/*.js' " Found: undefined
30
+ Field: "scripts.lint" Expected: "eslint \\\\" **/*.js\\\\" " Found: undefined
31
31
Field: "scripts.postlint" Expected: "npm-template-check" Found: undefined
32
32
Field: "scripts.template-copy" Expected: "npm-template-copy --force" Found: undefined
33
33
Field: "scripts.lintfix" Expected: "npm run lint -- --fix" Found: undefined
@@ -51,7 +51,7 @@ Array [
51
51
The following package.json fields are incorrect:
52
52
Field: "author" Expected: "GitHub Inc." Found: undefined
53
53
Field: "files" Expected: ["bin","lib"] Found: undefined
54
- Field: "scripts" Expected: {"lint":"eslint ' **/*.js' ","postlint":"npm-template-check","template-copy":"npm-template-copy --force","lintfix":"npm run lint -- --fix","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap","test":"tap","posttest":"npm run lint"} Found: undefined
54
+ Field: "scripts" Expected: {"lint":"eslint \\\\" **/*.js\\\\" ","postlint":"npm-template-check","template-copy":"npm-template-copy --force","lintfix":"npm run lint -- --fix","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap","test":"tap","posttest":"npm run lint"} Found: undefined
55
55
Field: "engines" Expected: {"node":"^12.13.0 || ^14.15.0 || >=16"} Found: undefined
56
56
),
57
57
"solution": "npm rm @npmcli/template-oss && npm i -D @npmcli/template-oss",
@@ -66,7 +66,7 @@ Array [
66
66
The following package.json fields are incorrect:
67
67
Field: "author" Expected: "GitHub Inc." Found: undefined
68
68
Field: "files" Expected: ["bin","lib"] Found: undefined
69
- Field: "scripts" Expected: {"lint":"eslint ' **/*.js' ","postlint":"npm-template-check","template-copy":"npm-template-copy --force","lintfix":"npm run lint -- --fix","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap","test":"tap","posttest":"npm run lint"} Found: undefined
69
+ Field: "scripts" Expected: {"lint":"eslint \\\\" **/*.js\\\\" ","postlint":"npm-template-check","template-copy":"npm-template-copy --force","lintfix":"npm run lint -- --fix","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap","test":"tap","posttest":"npm run lint"} Found: undefined
70
70
Field: "engines" Expected: {"node":"^12.13.0 || ^14.15.0 || >=16"} Found: undefined
71
71
),
72
72
"solution": "npm rm @npmcli/template-oss && npm i -D @npmcli/template-oss",
0 commit comments