forked from xcatliu/pagic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
34 lines (34 loc) · 1.69 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": "0.9.8",
"description": "A static site generator powered by Deno + React",
"main": "mod.ts",
"scripts": {
"start": "deno run --unstable --allow-read --allow-write --allow-net --allow-run mod.ts build --serve --watch",
"test": "deno test --unstable --allow-read --allow-write --allow-net --allow-run --coverage 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": "npm install --save-dev @typescript-eslint/eslint-plugin@latest @typescript-eslint/parser@latest eslint@latest eslint-config-alloy@latest eslint-plugin-react@latest prettier@latest typescript@latest",
"preversion": "run-s test",
"version": "run-s sed:README sed:pagic.org sed:pagic.cn && 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\"",
"sed:pagic.cn": "find pagic.cn -name \"*.md\" -type f -print0 | xargs -0 sed -i \"\" \"s#pagic@v[^/]*#pagic@v$npm_package_version#g\""
},
"author": "xcatliu <xcatliu@gmail.com>",
"license": "MIT",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.2.0",
"@typescript-eslint/parser": "^4.2.0",
"eslint": "^7.10.0",
"eslint-config-alloy": "^3.8.0",
"eslint-plugin-react": "^7.21.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"typescript": "^4.0.3"
}
}