-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 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
{
"name": "uom-units",
"version": "2.6.0",
"main": "lib-cjs/index.js",
"module": "lib-esm/index.js",
"types": "lib-cjs/index",
"description": "Predefined units for use with the uom package",
"author": "jonas.kello@divid.se",
"repository": "https://github.com/dividab/uom-units",
"license": "MIT",
"files": [
"/lib-cjs",
"/lib-esm",
"/src",
"package.json",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"dependencies": {
"uom": "^6.0.0"
},
"devDependencies": {
"@types/jest": "^26.0.15",
"@types/node": "^14.14.0",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"codecov": "^3.8.0",
"confusing-browser-globals": "^1.0.9",
"eslint": "^7.11.0",
"eslint-config-divid": "^0.5.1",
"eslint-plugin-functional": "^3.1.0",
"eslint-plugin-import": "^2.22.1",
"husky": "^4.3.0",
"jest": "^26.6.0",
"lint-staged": "^10.4.2",
"prettier": "^2.1.2",
"rimraf": "^3.0.2",
"ts-jest": "^26.4.1",
"typescript": "^4.0.3"
},
"scripts": {
"lint": "eslint './src/**/*.ts' --ext .ts -f visualstudio ",
"build": "yarn clean && yarn build:cjs && yarn build:esm",
"clean": "rm -rf ./lib-cjs ./lib-esm",
"build:cjs": "tsc -p src",
"build:esm": "tsc -p src --module es2015 --moduleResolution node --outDir ./lib-esm",
"test": "jest --no-coverage",
"verify": "yarn lint && yarn build && yarn test-coverage",
"test-coverage": "jest",
"report-coverage": "codecov -f coverage/lcov.info",
"preversion": "git checkout master && git pull && yarn test && yarn build",
"postversion": "git push --tags && yarn publish --new-version $npm_package_version && git push --follow-tags && echo \"Successfully released version $npm_package_version!\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": "eslint --ext .ts -f visualstudio",
"*.{ts,tsx,json,css}": [
"prettier --write",
"git add"
]
}
}