forked from kaisermann/svelte-i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 2.87 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
{
"name": "svelte-i18n",
"version": "3.1.0",
"main": "dist/runtime.cjs.js",
"module": "dist/runtime.esm.js",
"types": "types/runtime/index.d.ts",
"bin": {
"svelte-i18n": "dist/cli.js"
},
"license": "MIT",
"description": "Internationalization library for Svelte",
"author": "Christian Kaisermann <[email protected]>",
"repository": "https://github.com/kaisermann/svelte-i18n",
"keywords": [
"svelte",
"i18n",
"internationalization",
"localization",
"translation"
],
"engines": {
"node": ">= 11.15.0"
},
"scripts": {
"clean": "rm -rf dist/ types/",
"build": "rollup -c",
"build:types": "tsc -p src/runtime --emitDeclarationOnly",
"dev": "rollup -c -w",
"test": "jest",
"test:ci": "jest --silent",
"test:watch": "jest --verbose --watchAll",
"lint": "eslint \"src/**/*.ts\"",
"format": "prettier --loglevel silent --write \"src/**/*.ts\"",
"release": " git add package.json && git commit -m \"chore(release): v$npm_package_version :tada:\"",
"pretest": "npm run build",
"prebuild": "yarn clean",
"postbuild": "yarn build:types",
"prerelease": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1 && git add CHANGELOG.md",
"postrelease": "git tag -a v$npm_package_version -m 'Release v$npm_package_version'",
"prepublishOnly": "run-s test:ci build release"
},
"files": [
"dist/",
"types/"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix",
"prettier --write"
],
"*.json": [
"prettier --write"
]
},
"jest": {
"collectCoverage": true,
"testMatch": [
"<rootDir>/test/**/*.test.ts"
],
"collectCoverageFrom": [
"<rootDir>/src/**/*.ts"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
},
"peerDependencies": {
"svelte": "^3.25.1"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.11.5",
"@kiwi/eslint-config": "^1.2.0",
"@kiwi/prettier-config": "^1.1.0",
"@types/estree": "0.0.45",
"@types/intl": "^1.2.0",
"@types/jest": "^26.0.14",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^26.3.0",
"conventional-changelog-cli": "^2.1.0",
"eslint": "^7.9.0",
"husky": "^4.3.0",
"jest": "^26.4.2",
"lint-staged": "^10.4.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"rollup": "^2.27.1",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.27.2",
"sass": "^1.26.11",
"svelte": "^3.25.1",
"svelte-preprocess": "^4.3.0",
"ts-jest": "^26.4.0",
"typescript": "^4.0.3"
},
"dependencies": {
"commander": "^4.0.1",
"estree-walker": "^0.9.0",
"intl-messageformat": "^7.5.2",
"tiny-glob": "^0.2.6"
}
}