-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.35 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
{
"name": "navigation-polyfill",
"version": "0.0.2",
"description": "history is an interface for the pushstate and replacestate event.",
"homepage": "https://github.com/zhbhun/history-event",
"repository": {
"type": "git",
"url": "https://github.com/zhbhun/history-event.git"
},
"keywords": [
"js",
"hitory",
"event",
"pushstate",
"replacestate"
],
"author": "zhbhun",
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"types": "./es/index.d.ts",
"files": [
"es",
"lib"
],
"scripts": {
"prepare": "husky install",
"pre-commit": "lint-staged",
"build": "run-s build:*",
"build:es": "tsc --project tsconfig.json --outDir es",
"build:lib": "tsc --project tsconfig.lib.json --outDir lib",
"build:types": "tsc --project tsconfig.types.json --outDir es",
"lint": "eslint --ext .ts ./src",
"format": "eslint --fix --ext .ts ./src"
},
"lint-staged": {
"*.{js,ts}": "eslint --fix"
},
"devDependencies": {
"@commitlint/cli": "^17.0.2",
"@zhbhun/commitlint-config": "^1.0.0",
"@zhbhun/eslint-config-base": "^1.0.0",
"@zhbhun/prettier-config": "^1.0.0",
"eslint": "^8.0.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.0",
"stylelint": "^14.0.0",
"typescript": "^4.7.2"
}
}