forked from wenyan-lang/wenyan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 3.08 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "wenyanlang",
"description": "文言 A programming language for the ancient Chinese",
"version": "0.4.0",
"author": "LingDong <[email protected]>",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/wenyan-lang/wenyan.git"
},
"license": "MIT",
"keywords": [
"wenyan",
"wenyan-lang",
"compiler",
"ancient-chinese",
"classical-chinese"
],
"homepage": "https://github.com/wenyan-lang/wenyan",
"scripts": {
"build": "npm run clear && npm run build:type && webpack --mode production",
"build:dev": "npm run clear && npm run build:type && webpack --mode development",
"build:site": "webpack --mode production --config webpack.site.config.js",
"build:docs": "node ./tools/make_examples_readme.js",
"build:wiki": "node ./tools/wiki/update.js",
"build:type": "tsc --emitDeclarationOnly --declaration --declarationDir ./typings",
"dev:site": "webpack --mode development --config webpack.site.config.js --watch",
"dev": "npm run clear && npm run build:type && webpack --mode development --watch",
"cli": "ts-node ./src/cli.ts",
"clear": "rimraf dist typings",
"publish": "bump --commit && node ./tools/publish.js",
"publish:ci": "node ./tools/publish.js",
"update:wiki": "node ./tools/wiki/update.js --push",
"release": "bump --commit --tag && git push --follow-tags",
"test": "jest --detectOpenHandles",
"test:update": "jest --updateSnapshot",
"lint:fix": "npm run lint -- --fix",
"lint": "eslint {src,tools,test}/**/*.{js,ts}",
"prettify": "prettier {src,tools,test}/**/*.{js,ts} --write --quote-props preserve"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,tools,test}/**/*.{js,ts}": [
"prettier --write",
"eslint --fix",
"git add"
],
"static/assets/js/**/*.js": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/node": "^15.12.2",
"@types/webpack-env": "^1.16.0",
"@typescript-eslint/eslint-plugin": "^4.26.1",
"@typescript-eslint/parser": "^4.26.1",
"commander": "^4.1.1",
"consola": "^2.15.3",
"dts-bundle": "^0.7.3",
"eslint": "^7.28.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-html": "^6.1.2",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-prettier": "^3.4.0",
"find-up": "^4.1.0",
"fs-extra": "^8.1.0",
"husky": "^3.1.0",
"jest": "^26.6.3",
"lint-staged": "^9.5.0",
"markdown-toc": "^1.2.0",
"move-cli": "^1.2.1",
"nodemon": "^2.0.7",
"prettier": "^2.3.1",
"raw-loader": "^4.0.2",
"remove-strict-webpack-plugin": "^0.1.2",
"rimraf": "^3.0.2",
"set-tz": "^0.2.0",
"ts-jest": "^26.5.6",
"ts-loader": "^8.3.0",
"ts-node": "^10.0.0",
"typescript": "~4.2.2",
"version-bump-prompt": "^5.0.7",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12",
"webpack-shell-plugin": "^0.5.0"
},
"dependencies": {
"sync-request": "^6.1.0"
}
}