-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
79 lines (79 loc) · 1.94 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
{
"name": "@opd/gbt2260",
"version": "2.1.3-202312",
"description": "latest Chinese administrative divisions",
"main": "lib/index.js",
"module": "es/index.js",
"types": "typings",
"scripts": {
"test": "jest",
"generate": "node ./scripts/crawler.mjs",
"prebuild": "npm run test",
"lint": "eslint . --ext=.js,.ts",
"lint:fix": "eslint . --ext=.js,.ts --fix",
"build": "npm run build:es & npm run build:commonjs & npm run build:types",
"build:es": "babel src -d es --extensions .ts --copy-files",
"build:commonjs": "BABEL_ENV=commonjs babel src -d lib --extensions .ts --copy-files",
"build:types": "tsc",
"preversion": "npm run build",
"postversion": "npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kagawagao/gbt2260.git"
},
"keywords": [
"gbt2260",
"chinese",
"administrative",
"divisions",
"data",
"cn"
],
"author": {
"name": "kagawagao",
"email": "[email protected]",
"url": "https://kingsongao.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/kagawagao/gbt2260/issues"
},
"homepage": "https://github.com/kagawagao/gbt2260#readme",
"devDependencies": {
"@opd/babel-preset-lib": "^1.11.3",
"@opd/crawler": "^1.7.0",
"@opd/eslint-config-pangu": "^1.11.6",
"@opd/jest-preset-pangu": "^1.11.6",
"@opd/prettier-config-pangu": "^1.8.7",
"chalk": "^5.0.0",
"signale": "^1.4.0",
"string-template": "^1.0.0",
"typescript": "^4.1.2"
},
"engines": {
"node": ">=16.0.0"
},
"files": [
"lib",
"es",
"typings"
],
"prettier": "@opd/prettier-config-pangu",
"jest": {
"preset": "@opd/jest-preset-pangu"
},
"babel": {
"presets": [
"@opd/babel-preset-lib"
]
},
"eslintConfig": {
"extends": "@opd/eslint-config-pangu"
},
"dependencies": {
"@babel/runtime": "^7.22.6",
"core-js": "^3.31.1",
"read-pkg": "^7.1.0"
}
}