Skip to content

Commit

Permalink
[optimize] URL Schema detecting & BagEvent layout compatibility
Browse files Browse the repository at this point in the history
[optimize] flat Duration data structure
[optimize] update Upstream packages
  • Loading branch information
TechQuery committed Mar 30, 2023
1 parent 81c100e commit 18ab48a
Show file tree
Hide file tree
Showing 7 changed files with 142 additions and 124 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ docs/
*.yml
.husky/
.github/
.vscode/
.idea/
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"name": "@fcc-cdc/it-events",
"version": "1.2.0-rc.1",
"version": "1.2.0",
"license": "MIT",
"author": "shiy2008@gmail.com",
"description": "IT Events Crawler of China",
"keywords": [
"crawler",
Expand All @@ -9,8 +11,6 @@
"activity",
"China"
],
"license": "MIT",
"author": "shiy2008@gmail.com",
"homepage": "https://fcc-cd.dev/IT-events/",
"repository": {
"type": "git",
Expand All @@ -19,24 +19,11 @@
"bugs": {
"url": "https://github.com/FreeCodeCamp-Chengdu/IT-events/issues"
},
"module": "source/index.ts",
"source": "source/index.ts",
"main": "dist/index.js",
"bin": {
"it-events": "dist/command.js"
},
"lint-staged": {
"*.{md,json,yml,ts,tsx}": "prettier --write",
"*.{ts,tsx}": "eslint --fix"
},
"jest": {
"preset": "ts-jest"
},
"scripts": {
"prepare": "husky install",
"test": "lint-staged && jest",
"build": "rm -rf dist/ docs/ && tsc && typedoc source/",
"prepublishOnly": "npm test && npm run build"
},
"dependencies": {
"array-unique-proposal": "^0.3.4",
"commander-jsx": "^0.6.1",
Expand All @@ -52,12 +39,12 @@
"@types/fs-extra": "^11.0.1",
"@types/jest": "^29.5.0",
"@types/jsdom": "^21.1.1",
"@types/node": "^16.18.21",
"@types/node-fetch": "^2.6.2",
"@types/node": "^16.18.22",
"@types/node-fetch": "^2.6.3",
"@types/string-similarity": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"eslint": "^8.36.0",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
Expand All @@ -73,5 +60,18 @@
"trailingComma": "none",
"arrowParens": "avoid",
"singleQuote": true
},
"lint-staged": {
"*.{md,json,yml,ts,tsx}": "prettier --write",
"*.{ts,tsx}": "eslint --fix"
},
"jest": {
"preset": "ts-jest"
},
"scripts": {
"prepare": "husky install",
"test": "lint-staged && jest",
"build": "rm -rf dist/ docs/ && tsc && typedoc source/",
"prepublishOnly": "npm test && npm run build"
}
}
Loading

0 comments on commit 18ab48a

Please sign in to comment.