generated from ivandotv/microbundle-template
/
package.json
87 lines (87 loc) · 2.7 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
{
"name": "koa-pick-locale",
"version": "1.0.0",
"description": "Koa middleware to pick locale from an array of supported locales",
"keywords": [
"koa",
"koa-middleware",
"koa-locale",
"koa-language",
"koa-pick-locale"
],
"private": false,
"author": "ivandotv",
"license": "MIT",
"type": "module",
"main": "./dist/prod/index.cjs",
"module": "./dist/prod/index.modern.js",
"exports": {
"require": "./dist/prod/index.cjs",
"default": "./dist/prod/index.modern.js"
},
"types": "./dist/types/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"lint": "eslint --fix \"src/**/\"",
"lint:check": "eslint \"src/**/\"",
"lint:ci": "pnpm lint:check",
"test": "jest --verbose --coverage",
"test:watch": "jest --watch",
"test:ci": "jest --runInBand --ci --coverage --coverageDirectory=coverage",
"build:prod": "cross-env NODE_ENV=production microbundle --tsconfig ./tsconfig.json --format modern,cjs,umd --output dist/prod/index.js",
"build": "rm -rf ./dist && pnpm build:prod",
"gen:docs": "rm -rf ./docs/api && typedoc --options typedoc.cjs",
"prepublishOnly": "pnpm build",
"prepare": "husky install",
"release": "pnpm run prepublishOnly && pnpm changeset publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ivandotv/koa-pick-locale.git"
},
"bugs": {
"url": "https://github.com/ivandotv/koa-pick-locale/issues"
},
"homepage": "https://github.com/ivandotv/koa-pick-locale#readme",
"devDependencies": {
"@babel/core": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.17.12",
"@changesets/cli": "^2.22.0",
"@shopify/jest-koa-mocks": "^4.0.0",
"@types/accept-language-parser": "^1.5.3",
"@types/debug": "^4.1.7",
"@types/jest": "^28.1.1",
"@types/koa": "^2.13.4",
"@types/node": "^17.0.40",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"babel-plugin-dev-expression": "^0.2.3",
"babel-plugin-transform-define": "^2.0.1",
"cross-env": "^7.0.3",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-tsdoc": "^0.2.16",
"husky": "^8.0.1",
"jest": "^28.1.0",
"jest-mock-console": "^2.0.0",
"jest-watch-typeahead": "^1.1.0",
"lint-staged": "^13.0.0",
"microbundle": "^0.15.0",
"prettier": "^2.6.2",
"shx": "^0.3.4",
"typedoc": "^0.25.0",
"typedoc-plugin-markdown": "^3.12.1",
"typescript": "^4.7.3"
},
"dependencies": {
"accept-language-parser": "^1.5.0",
"debug": "^4.3.4"
}
}