-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 1.72 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
{
"name": "@seznam/pocitadlo-libi-se-common",
"version": "1.1.3",
"description": "Shared resources related to integration libraries for the \"Líbí se\" social plugin button by Seznam.cz.",
"module": "./esm/index.js",
"main": "./cjs/index.cjs",
"type": "module",
"types": "./esm/index.d.ts",
"exports": {
"import": "./esm/index.js",
"require": "./cjs/index.cjs"
},
"scripts": {
"build": "rm -rf dist/ && npm run compile:esm && npm run compile:cjs && cp LICENSE package.json pocitadlolibise.css README.md dist/",
"compile:esm": "tsc --outDir ./dist/esm/ --project .",
"compile:cjs": "tsc --outDir ./dist/cjs/ --module CommonJS --target ES5 --project . && mv ./dist/cjs/index.js ./dist/cjs/index.cjs",
"test": "eslint . --ext .ts",
"check-uncommitted": "git diff --exit-code >/dev/null && git diff --cached --exit-code >/dev/null",
"prepublishOnly": "echo 'Use npm run publish-package' && exit 1",
"publish-package": "npm run check-uncommitted && npm run build && git push && git push --tags && cd dist/ && npm publish --ignore-scripts --access public && cd .."
},
"repository": {
"type": "git",
"url": "git+https://github.com/seznam/pocitadlo-libi-se-common.git"
},
"keywords": [
"líbí se",
"libi se",
"seznam",
"seznam.cz",
"social",
"plugin"
],
"author": "Martin Jurča <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/seznam/pocitadlo-libi-se-common/issues"
},
"homepage": "https://github.com/seznam/pocitadlo-libi-se-common#readme",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"eslint": "^7.11.0",
"typescript": "^4.0.3"
}
}