https://github.com/wenyan-lang/wenyan
Raw File
Tip revision: 97f0a4b8c5a815467c5c2cac08215d722efde208 authored by LingDong- on 17 January 2023, 00:00:53 UTC
fix 685
Tip revision: 97f0a4b
package.json
{
  "name": "wenyanlang",
  "description": "文言 A programming language for the ancient Chinese",
  "version": "0.4.0",
  "author": "LingDong <lingdong0618@hotmail.com>",
  "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"
  }
}
back to top