forked from qiwi/license
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 3.07 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
{
"name": "@qiwi/license",
"version": "1.3.3",
"description": "QIWI OSS License",
"bin": {
"qiwilicense": "target/es6/cli.js"
},
"type": "module",
"exports": {
"import": "./target/es6/index.mjs",
"require": "./target/es5/index.js"
},
"main": "target/bundle/license.js",
"module": "target/bundle/license.mjs",
"unpkg": "target/bundle/license.umd.js",
"source": "src/main/ts/index.ts",
"types": "typings/index.d.ts",
"typescript": {
"definition": "typings/index.d.ts"
},
"files": [
"README.md",
"CHANGELOG.md",
"target",
"typings",
"flow-typed"
],
"scripts": {
"lint": "tslint -p tsconfig.test.json src/**/*.ts",
"lint:fix": "yarn lint --fix",
"test": "yarn lint && yarn test:unit",
"test:unit": "jest",
"clean": "rimraf target typings",
"build:fix": "tsc-es2020-fix --target=target/es6 --ext=.mjs",
"build": "yarn clean && yarn build:tpl && yarn build:es5 && yarn build:es6 && yarn build:fix && yarn build:ts && yarn build:libdef && yarn docs && yarn uglify && yarn build:bundle",
"build:tpl": "mkdir -p target/tpl && cp src/main/tpl/* target/tpl",
"build:es5": "mkdir -p target/es5 && tsc -p tsconfig.es5.json",
"build:es6": "mkdir -p target/es6 && tsc -p tsconfig.es6.json",
"build:ts": "cp -r src/main/ts/ target/ts/",
"build:bundle": "microbundle build src/main/ts/index.ts -o target/bundle",
"build:libdef": "libdefkit --tsconfig=tsconfig.es5.json --tsconfig=tsconfig.es6.json",
"test:report": "yarn test && yarn push:report",
"push:report": "yarn coveralls:push",
"coveralls:push": "cat ./coverage/lcov.info | coveralls",
"docs": "typedoc",
"uglify": "for f in $(find target -name '*.js'); do short=${f%.js}; terser -c -m -o $short.js -- $f; done",
"postupdate": "yarn && yarn build && yarn test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/qiwi/license.git"
},
"keywords": [
"license",
"oss",
"mit"
],
"bugs": {
"url": "https://github.com/qiwi/license/issues"
},
"homepage": "https://github.com/qiwi/license#readme",
"dependencies": {
"@antongolub/git-root": "^1.5.6",
"@qiwi/substrate": "^1.20.11",
"@types/lodash-es": "^4.17.5",
"@types/meow": "^6.0.0",
"@types/read-pkg": "^5.1.0",
"lodash-es": "^4.17.21",
"meow": "^10.1.2",
"read-pkg": "^7.0.0",
"tslib": "^2.3.1"
},
"devDependencies": {
"@qiwi/libdefkit": "^4.0.0",
"@swissquote/crafty-preset-jest": "^1.17.2",
"@types/jest": "^27.0.3",
"@types/jest-json-schema": "^6.0.0",
"coveralls": "^3.1.1",
"esm": "^3.2.25",
"execa": "^6.0.0",
"jest": "^27.4.5",
"microbundle": "^0.14.2",
"rimraf": "^3.0.2",
"terser": "^5.10.0",
"ts-jest": "^27.1.2",
"tsc-es2020-fix": "^2.2.2",
"tslint": "^6.1.3",
"tslint-config-qiwi": "^1.9.0",
"typedoc": "^0.22.10",
"typescript": "^4.5.4"
},
"author": "QIWI <orensource@qiwi.com>",
"contributors": [
"Anton Golub <a.golub@qiwi.com>",
"Osipova Evgeniya <e.osipova@qiwi.com>"
],
"license": "MIT",
"private": false
}