forked from UnlyEd/universal-language-detector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 3.01 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
{
"name": "@unly/universal-language-detector",
"version": "2.0.3",
"description": "Language detector that works universally (browser + server) - Meant to be used with a universal framework, such as Next.js",
"scripts": {
"start": "cross-env-shell 'concurrently -p '{name}' -n 'lint,build,test' -c 'gray.bgWhite,yellow.bgBlue,green.bgWhite' \"yarn lint\" \"yarn build\" \"yarn test\"'",
"build": "tsc -w",
"build:once": "tsc",
"clean": "rm -rf lib/",
"lint": "esw src -w --ext .ts --ext .tsx",
"lint:once": "eslint src --ext .ts --ext .tsx",
"lint:fix": "eslint src --ext .ts --ext .tsx --fix",
"lint:fix:preview": "eslint src --ext .ts --ext .tsx --fix-dry-run",
"preversion": "yarn lint:once && yarn test:once && yarn doc:toc",
"postversion": "git add README.md CHANGELOG.md && git commit --amend --no-edit && git push && git push --tags",
"prepublishOnly": "yarn clean && yarn build:once && yarn publish:preview && cli-confirm \"Do you really want to release a new version? Please check the files that will be publicly released first. (y/n)\"",
"publish:preview": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz",
"release": "yarn bump --prompt --commit --tag",
"releaseAndPublish": "yarn release && npm publish",
"doc:toc": "yarn markdown-toc --maxdepth 4 -i README.md",
"test": "NODE_ENV=test jest --watchAll",
"test:once": "NODE_ENV=test jest",
"test:coverage": "NODE_ENV=test jest --coverage"
},
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/UnlyEd/universal-language-detector.git"
},
"author": "unlyEd",
"license": "MIT",
"bugs": {
"url": "https://github.com/UnlyEd/universal-language-detector/issues"
},
"homepage": "https://github.com/UnlyEd/universal-language-detector",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"files": [
"/lib"
],
"jest": {
"setupFilesAfterEnv": [
"jest-extended"
],
"verbose": true
},
"dependencies": {
"@unly/iso3166-1": "1.0.2",
"@unly/utils": "1.0.3",
"accept-language-parser": "1.5.0",
"i18next": "19.0.2",
"i18next-browser-languagedetector": "4.0.1",
"lodash.get": "4.4.2",
"lodash.includes": "4.3.0"
},
"devDependencies": {
"@babel/core": "7.5.0",
"@babel/preset-env": "7.5.0",
"@babel/preset-typescript": "7.3.3",
"@types/jest": "24.0.25",
"@types/lodash": "4.14.149",
"@types/node": "13.1.1",
"@typescript-eslint/eslint-plugin": "2.13.0",
"@typescript-eslint/parser": "2.13.0",
"@unly/cli-confirm": "1.1.1",
"babel-jest": "24.9.0",
"concurrently": "4.1.0",
"cross-env": "5.2.0",
"eslint": "6.8.0",
"eslint-config-airbnb-base": "14.0.0",
"eslint-plugin-import": "2.19.1",
"eslint-plugin-jest": "23.2.0",
"eslint-watch": "6.0.1",
"jest": "24.9.0",
"jsdoc-to-markdown": "5.0.3",
"markdown-toc": "1.2.0",
"ts-jest": "24.2.0",
"typescript": "3.7.4",
"version-bump-prompt": "4.2.2"
}
}