generated from gravity-ui/package-example
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
79 lines (79 loc) · 2.23 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": "@gravity-ui/app-layout",
"version": "2.1.0",
"description": "",
"license": "MIT",
"type": "module",
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.js",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/gravity-ui/app-layout.git"
},
"bugs": {
"url": "https://github.com/gravity-ui/app-layout/issues"
},
"homepage": "https://github.com/gravity-ui/app-layout#readme",
"scripts": {
"prepare": "husky",
"lint": "run-p lint:*",
"lint:js": "eslint --report-unused-disable-directives .",
"lint:exports": "npm run build && npm pack && attw gravity-ui-app-layout-${npm_package_version}.tgz",
"lint:other": "npm run prettier -- --check",
"prettier": "prettier '**/*.{md,yaml,yml,json}'",
"typecheck": "tsc --noEmit",
"test": "jest",
"build": "npm run build:clean && run-p build:compile:*",
"build:clean": "rimraf dist",
"build:compile:esm": "tsc -p tsconfig.esm.json",
"build:compile:commonjs": "tsc -p tsconfig.commonjs.json && cp ./templates/package.commonjs.json ./dist/commonjs/package.json",
"prepublishOnly": "npm run build"
},
"dependencies": {
"htmlescape": "^1.1.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.13.6",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@gravity-ui/eslint-config": "^3.1.1",
"@gravity-ui/prettier-config": "^1.1.0",
"@gravity-ui/tsconfig": "^1.0.0",
"@types/express": "^4.17.13",
"@types/htmlescape": "^1.1.3",
"@types/jest": "^29.5.11",
"@types/node": "^18",
"eslint": "^8.56.0",
"husky": "^9.0.7",
"jest": "^29.7.0",
"nano-staged": "^0.8.0",
"npm-run-all": "^4.1.5",
"prettier": "3.2.4",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"typescript": "~5.3.3"
},
"nano-staged": {
"*.{js,ts}": [
"eslint --fix --quiet"
],
"*.{md,yaml,yml,json}": [
"prettier --write"
]
}
}