forked from wenyan-lang/wenyan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.16 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
{
"name": "wenyanlang",
"description": "文言 A programming language for the ancient Chinese",
"version": "0.1.1",
"author": "LingDong <lingdong0618@hotmail.com>",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/LingDong-/wenyan-lang.git"
},
"license": "MIT",
"keywords": [
"wenyan",
"wenyan-lang",
"compiler",
"ancient-chinese",
"classical-chinese"
],
"homepage": "https://github.com/LingDong-/wenyan-lang",
"scripts": {
"build": "npm run clear && webpack --mode production",
"build:dev": "npm run clear && webpack --mode development",
"dev": "npm run clear && webpack --mode development --watch",
"clear": "rimraf ./dist",
"publish": "bump --commit && node ./tools/publish.js",
"publish:ci": "node ./tools/publish.js",
"release": "bump --commit --tag && git push --follow-tags",
"make_ide": "node ./tools/make_ide.js",
"make_site": "node ./tools/make_site.js",
"ide:dev": "nodemon --ignore build,dist ./tools/make_ide.js",
"site:dev": "nodemon --ignore build,dist ./tools/make_site.js",
"test": "mocha --require mocha-snapshots",
"test:update": "mocha --require mocha-snapshots --update",
"lint:fix": "npm run lint -- --fix",
"lint": "eslint {src,tools,test}/**/*.js",
"prettify": "prettier {src,tools,test}/**/*.js --write"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,tools,test}/**/*.js": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"devDependencies": {
"chai": "^4.2.0",
"commander": "^4.0.1",
"enzyme": "^3.10.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-prettier": "^3.1.2",
"fs-extra": "^8.1.0",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"mocha": "^6.2.2",
"mocha-snapshots": "^4.2.0",
"nodemon": "^2.0.2",
"pkg": "^4.4.2",
"prettier": "^1.19.1",
"raw-loader": "^4.0.0",
"rimraf": "^3.0.0",
"version-bump-prompt": "^5.0.6",
"webpack": "^4.41.4",
"webpack-cli": "^3.3.10",
"webpack-shell-plugin": "^0.5.0"
}
}