-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2 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
{
"name": "translationary",
"version": "0.0.7",
"description": "A utility to parse strings and retrieve translations",
"main": "./dist/t.cjs",
"exports": {
"basic": "./dist/t.js",
"import": "./dist/t.mjs",
"require": "./dist/t.cjs",
"iife": "./dist/t.iife.js"
},
"types": "dist/t.d.ts",
"sideEffects": false,
"files": [
"dist"
],
"scripts": {
"build": "rimraf dist && rollup src/index.ts --config rollup.config.js",
"test:lint": "eslint 'src/**/*.{js,jsx,ts,tsx}' --fix",
"prepack": "npm run build",
"prettier": "prettier --write '**/*.{js,ts}'",
"test": "npm run prettier && npm run test:lint && npm run test:types && npm run test:unit",
"test:unit": "jest --coverage",
"test:coverage": "jest --coverage && if [[ $OSTYPE == darwin* ]]; then open ./coverage/lcov-report/index.html; else xdg-open ./coverage/lcov-report/index.html; fi",
"test:types": "tsc",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git@github.com:mousemke/translationary.git"
},
"contributors": [
{
"name": "Sadie Braun",
"email": "sadie@knoblau.ch"
}
],
"license": "MIT",
"devDependencies": {
"@commitlint/config-conventional": "^17.0.3",
"@rollup/plugin-typescript": "^8.2.3",
"@types/jest": "^28.1.6",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"commitlint": "^17.0.3",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.4.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^7.0.0",
"jest": "^28.1.3",
"lint-staged": "^11.1.1",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"rollup": "^2.55.0",
"rollup-plugin-dts": "^4.2.2",
"ts-jest": "^28.0.7",
"typescript": "^4.3.5"
},
"lint-staged": {
"src/**/*.{ts,tsx,js,jsx}": [
"prettier --write",
"eslint --ext .js,.jsx,.ts,.tsx"
]
},
"dependencies": {
"eslint": "^8.21.0"
}
}