-
-
Notifications
You must be signed in to change notification settings - Fork 102
/
package.json
34 lines (34 loc) · 1.48 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"name": "pagic",
"version": "1.6.3",
"description": "A static site generator powered by Deno + React",
"main": "mod.ts",
"scripts": {
"start": "deno run --unstable --allow-read --allow-write --allow-net --allow-env --allow-run mod.ts build --serve --watch",
"build": "deno run --unstable --allow-read --allow-write --allow-net --allow-env --allow-run mod.ts build",
"test": "deno test --unstable --allow-read --allow-write --allow-net --allow-env --allow-run src",
"lint": "run-s eslint prettier",
"eslint": "eslint --ext .ts,.tsx,.js,.jsx .",
"eslint:fix": "eslint --ext .ts,.tsx,.js,.jsx --fix .",
"prettier": "prettier -l \"./**/*\"",
"prettier:fix": "prettier --write -l \"./**/*\"",
"update": "pnpm update",
"preversion": "run-s test",
"version": "run-s sed:README sed:pagic.org && git add -A",
"postversion": "git push --follow-tags",
"sed:README": "sed -i \"\" \"s#Pagic-v.*-orange#Pagic-v$npm_package_version-orange#g\" README.md",
"sed:pagic.org": "find pagic.org -name \"*.md\" -type f -print0 | xargs -0 sed -i \"\" \"s#pagic@v[^/]*#pagic@v$npm_package_version#g\""
},
"author": "xcatliu <[email protected]>",
"license": "MIT",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"eslint": "^8.34.0",
"eslint-config-alloy": "^4.9.0",
"eslint-plugin-react": "^7.32.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"typescript": "^4.9.5"
}
}