forked from qiwi/common-formatters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.89 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
{
"name": "@qiwi/common-formatters",
"version": "0.7.8",
"description": "Common string formatters",
"main": "target/es5/index.js",
"types": "typings/index.d.ts",
"scripts": {
"clean": "rm -rf lib typings",
"jest": "NODE_ENV=test jest --no-cache -w 1 --detectOpenHandles --config jest.config.json",
"lint": "tslint -c tslint.json src/**/*.ts --fix",
"test": "yarn lint && yarn jest",
"build": "yarn clean && yarn build:es5 && yarn build:es6 && yarn build:ts && yarn libdef && yarn docs",
"build:es5": "mkdir -p target/es5 && tsc -p tsconfig.json --target ES5 --outDir target/es5",
"build:es6": "mkdir -p target/es6 && tsc -p tsconfig.json --target ES6 --outDir target/es6",
"build:ts": "cp -r src/main/ target/ts/",
"dtsgen": "dts-generator --project ./ --out typings/index.d.ts --prefix @qiwi/common-formatters/target/es5 --name @qiwi/common-formatters --main @qiwi/common-formatters/target/es5/index --moduleResolution node",
"flowgen": "flowgen typings/index.d.ts --output-file typings/index.flow.js",
"libdef": "yarn dtsgen && yarn libdeffix && yarn flowgen",
"libdeffix": "node -r esm ./src/gen/js/libdef-fix.js --flow=./typings/index.flow.js --dts=./typings/index.d.ts",
"test:report": "yarn test && yarn coveralls:push",
"coveralls:push": "cat ./coverage/lcov.info | coveralls",
"docs": "typedoc src/main --ignoreCompilerErrors || exit 0",
"docs:push": "gh-pages -d docs -e . -m \"update docs v$npm_package_version\"",
"postupdate": "yarn && yarn build && yarn test"
},
"files": [
"README.md",
"CHANGELOG.md",
"target",
"typings"
],
"repository": {
"type": "git",
"url": "https://github.com/qiwi/common-formatters.git"
},
"keywords": [
"format",
"common formatters"
],
"author": "Anton Golub <[email protected]>",
"license": "MIT",
"dependencies": {
"tslib": "^1.10.0"
},
"devDependencies": {
"@qiwi/semantic-release-gh-pages-plugin": "^1.15.6",
"@semantic-release/changelog": "^3.0.6",
"@semantic-release/git": "^7.0.18",
"@semantic-release/github": "^5.5.5",
"@semantic-release/npm": "^5.3.4",
"@types/jest": "^24.0.23",
"coveralls": "^3.0.9",
"dts-generator": "^3.0.0",
"eslint-plugin-typescript": "^0.14.0",
"esm": "^3.2.25",
"flowgen": "1.10.0",
"jest": "^24.9.0",
"lodash": "^4.17.15",
"replace-in-file": "^5.0.2",
"semantic-release": "^15.13.31",
"ts-jest": "^24.2.0",
"tslint": "^5.20.1",
"tslint-config-qiwi": "^1.3.1",
"typedoc": "^0.15.5",
"typedoc-plugin-external-module-name": "^2.1.0",
"typescript": "^3.7.3"
},
"release": {
"branch": "master",
"plugins": [
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/git",
"@semantic-release/github",
"@semantic-release/npm",
"@qiwi/semantic-release-gh-pages-plugin"
]
}
}