-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 2.86 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "@narkdown/notion-parser",
"version": "0.6.0",
"description": "Parse notion response",
"keywords": [
"notion",
"notionapi",
"notion-api",
"markdown"
],
"repository": {
"type": "git",
"url": "git+https://github.com/narkdown/notion-parser.git"
},
"license": "MIT",
"author": "Younho Choo <[email protected]>",
"type": "commonjs",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"prebuild": "yarn clean:dist",
"build": "yarn build:src && yarn build:types",
"build:src": "babel src --extensions .ts -d dist --source-maps",
"build:types": "tsc",
"clean": "yarn clean:dist && yarn clean:modules",
"clean:dist": "rimraf dist",
"clean:modules": "rimraf node_modules",
"codecov": "yarn test:coverage && codecov",
"format": "prettier --ignore-path ./node_modules/@younho9/prettier-config/.prettierignore",
"format:pkg": "sort-package-json",
"git:commit-msg": "commitlint --edit",
"git:install-hooks": "husky install",
"git:pre-commit": "lint-staged",
"git:pre-push": "yarn test && yarn build",
"lint": "xo",
"prepare": "yarn git:install-hooks",
"release": "npx np",
"test": "jest",
"test:coverage": "jest --coverage"
},
"commitlint": {
"extends": "@commitlint/config-conventional"
},
"lint-staged": {
"*.{cjs,ts,json,md}": [
"yarn format --write"
],
"*.{cjs,ts,json}": [
"yarn lint --fix"
],
"package.json": [
"yarn format:pkg"
]
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "12"
}
}
],
"@babel/preset-typescript"
]
},
"xo": {
"prettier": true,
"rules": {
"@typescript-eslint/naming-convention": "off",
"import/extensions": "off"
}
},
"prettier": "@younho9/prettier-config",
"dependencies": {
"@notionhq/client": "0.4.4",
"date-fns": "2.25.0",
"date-fns-tz": "1.1.6",
"type-fest": "2.5.3"
},
"devDependencies": {
"@babel/cli": "7.16.0",
"@babel/core": "7.16.0",
"@babel/preset-env": "7.16.0",
"@babel/preset-typescript": "7.16.0",
"@commitlint/cli": "13.2.1",
"@commitlint/config-conventional": "13.2.0",
"@narkdown/notion-faker": "0.5.1",
"@tsconfig/node12": "1.0.9",
"@types/faker": "5.5.9",
"@types/jest": "27.0.2",
"@types/node": "16.11.6",
"@younho9/prettier-config": "2.2.4",
"codecov": "3.8.3",
"dotenv": "10.0.0",
"husky": "7.0.4",
"jest": "27.3.1",
"lint-staged": "11.2.6",
"prettier": "2.4.1",
"rimraf": "3.0.2",
"sort-package-json": "1.52.0",
"ts-jest": "27.0.7",
"ts-node": "10.4.0",
"typescript": "^4.4.3",
"xo": "0.46.4"
},
"engines": {
"node": ">=12"
},
"publishConfig": {
"access": "public"
}
}