-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.8 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 1.8 KB
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
{
"name": "wpcom",
"description": "Official JavaScript library for the WordPress.com REST API.",
"bugs": "https://github.com/Automattic/wp-calypso/issues",
"homepage": "https://github.com/Automattic/wp-calypso",
"version": "7.1.1",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"calypso:src": "src/index.js",
"types": "types/index.d.ts",
"exports": {
".": {
"calypso:src": "./src/index.js",
"types": "./types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"author": "Automattic Inc.",
"scripts": {
"clean": "rm -rf dist",
"build": "run-s build:modules build:bundle",
"prepack": "yarn run clean && yarn run build",
"build:modules": "transpile",
"build:bundle": "webpack --stats-preset errors-only"
},
"keywords": [
"wordpress",
"wordpress.com",
"browser",
"rest",
"api",
"library"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Automattic/wp-calypso.git",
"directory": "packages/wpcom.js"
},
"license": "MIT",
"files": [
"src",
"dist",
"types",
"History.md",
"README.md"
],
"browser": {
"./dist/cjs/lib/util/fs.js": "./dist/cjs/lib/util/fs-browser.js",
"./dist/esm/lib/util/fs.js": "./dist/esm/lib/util/fs-browser.js",
"./src/lib/util/fs.js": "./src/lib/util/fs-browser.js"
},
"dependencies": {
"@babel/runtime": "^7.27.1",
"debug": "^4.4.1",
"qs": "^6.15.2"
},
"devDependencies": {
"@automattic/calypso-build": "workspace:^",
"@automattic/calypso-eslint-overrides": "workspace:^",
"@automattic/calypso-typescript-config": "workspace:^",
"@babel/core": "^7.27.1",
"babel-loader": "^8.2.3",
"npm-run-all": "^4.1.5",
"postcss": "^8.5.15",
"webpack": "^5.99.8",
"webpack-cli": "^4.10.0",
"wpcom-oauth-cors": "^1.0.2-beta",
"wpcom-proxy-request": "workspace:^"
}
}