-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathpackage.json
70 lines (70 loc) · 2.06 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
{
"name": "@gravatar-com/quick-editor",
"version": "0.6.0",
"description": "A lightweight library to provide seamless Gravatar profile management for third-party sites",
"author": "Automattic Inc.",
"license": "GPL-2.0-or-later",
"keywords": [
"gravatar",
"profile",
"gravatar-profile",
"gravatar-editor",
"typescript"
],
"types": "dist/index.d.ts",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"unpkg": "dist/index.umd.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"start": "npm run build && webpack serve --config ./webpack/config.playground.js",
"build": "npm run clean:dist && run-p 'build:types' 'build:core'",
"build:core": "webpack --config ./webpack/config.core.js --node-env=production",
"build:types": "tsc --declaration --declarationMap --emitDeclarationOnly",
"build:dev": "npm run clean:dist && run-p 'build:types' 'build:core --node-env=development'",
"build:watch": "npm run build:dev && watch 'npm run build:dev' ./src",
"format": "wp-scripts format",
"type-check": "tsc --noEmit",
"lint:js": "wp-scripts lint-js",
"lint:md": "wp-scripts lint-md-docs",
"lint": "run-p 'lint:*'",
"clean:dist": "rimraf dist",
"clean:release": "rimraf release",
"clean": "run-p 'clean:*'",
"release": "release-it"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.24.7",
"@wordpress/prettier-config": "^4.1.0",
"babel-loader": "^9.1.3",
"html-webpack-plugin": "^5.5.3",
"husky": "^9.0.11",
"lint-staged": "^13.2.3",
"npm-run-all": "^4.1.5",
"release-it": "^17.4.0",
"rimraf": "^5.0.1",
"terser-webpack-plugin": "^5.3.9",
"typescript": "^5.1.6",
"watch": "^1.0.2",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"webpack-remove-empty-scripts": "^1.0.3"
},
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public"
}
}