Skip to content

Commit 2d2a728

Browse files
committed
Remove extra npx calls to eliminate script execution overhead
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 1226e66 commit 2d2a728

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
{
22
"name": "@tc39/tc39.github.io",
3+
"private": true,
34
"description": "Get involved in specifying JavaScript",
45
"repository": {
56
"type": "git",
67
"url": "https://github.com/tc39/tc39.github.io.git"
78
},
89
"scripts": {
9-
"lint": "npm run lint:js && npm run lint:scss && npm run lint:format",
10-
"lint:js": "eslint --ext=.js,.mjs .",
11-
"lint:scss": "stylelint _sass",
12-
"lint:format": "prettier --check . '!tc39-notes'",
10+
"prebuild": "npm run sass",
11+
"build": "eleventy",
1312
"fix": "npm run fix:js && npm run fix:scss && npm run fix:format",
13+
"fix:format": "npm run lint:format -- --write",
1414
"fix:js": "npm run lint:js -- --fix",
1515
"fix:scss": "npm run lint:scss -- --fix",
16-
"fix:format": "npm run lint:format -- --write",
17-
"test": "echo \"Error: no test specified\" && exit 1",
16+
"lint": "npm run lint:js && npm run lint:scss && npm run lint:format",
17+
"lint:format": "prettier --check . '!tc39-notes'",
18+
"lint:js": "eslint --ext=.js,.mjs .",
19+
"lint:scss": "stylelint _sass",
1820
"sass": "sass --style=compressed _sass/style.scss assets/css/style.css",
1921
"sass:watch": "sass --style=compressed _sass/style.scss assets/css/style.css --watch",
20-
"build": "npx @11ty/eleventy",
21-
"prebuild": "npm run sass",
22-
"start": "npx @11ty/eleventy --serve --watch"
22+
"start": "eleventy --serve --watch",
23+
"test": "echo \"Error: no test specified\" && exit 1"
2324
},
2425
"devDependencies": {
2526
"@11ty/eleventy": "2.0.1",
@@ -37,6 +38,5 @@
3738
},
3839
"engines": {
3940
"node": ">=20"
40-
},
41-
"private": true
41+
}
4242
}

0 commit comments

Comments
 (0)