-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
executable file
·86 lines (86 loc) · 2.59 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
{
"name": "pwa-badge",
"version": "1.1.1",
"license": "MIT",
"description": "Badging for PWA app icons",
"repository": "github:ali-master/pwa-badge",
"bugs": "https://github.com/ali-master/pwa-badge/issues",
"homepage": "https://github.com/ali-master/pwa-badge",
"keywords": [
"pwa",
"badge",
"badge icon",
"pwa icon"
],
"author": "Ali Torki <ali_4286@live.com>",
"main": "lib/index.js",
"module": "es/index.js",
"types": "src/index.d.ts",
"sideEffects": false,
"files": [
"lib",
"es",
"src",
"dist"
],
"scripts": {
"clean": "rimraf lib dist es coverage",
"prepare": "npm run clean && npm run lint && npm run test && npm run build",
"lint": "eslint src test && prettier --write ./src ./test",
"test": "cross-env BABEL_ENV=commonjs jest",
"build": "npm run build:commonjs && npm run build:umd && npm run build:umd:min && npm run build:es",
"release": "npm run clean && npm run build && npm run changelog",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development npx webpack",
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production npx webpack --mode production",
"prerelease": "npm run test",
"changelog": "standard-version"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/register": "^7.12.10",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.2",
"cross-env": "^7.0.3",
"eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^4.3.7",
"jest": "^26.6.3",
"jest-cli": "^26.6.3",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"standard-version": "^9.1.0",
"terser-webpack-plugin": "^5.1.1",
"ts-jest": "^26.4.4",
"typescript": "^4.1.3",
"webpack": "^5.13.0",
"webpack-cli": "^4.3.1"
}
}