-
Notifications
You must be signed in to change notification settings - Fork 156
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.78 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.78 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "@faustwp/core",
"version": "3.3.2",
"description": "Faust is a framework that aims to make headless WordPress as streamlined as classic WordPress for both developers and publishers",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"types": "dist/cjs/index.d.ts",
"peerDependencies": {
"@apollo/client": ">=3.6.6",
"next": ">=12.1.6",
"react": ">=17.0.2",
"react-dom": ">=17.0.2"
},
"devDependencies": {
"@apollo/client": "^3.6.6",
"@parcel/watcher": "2.4.1",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^14.3.1",
"@types/cookie": "^0.4.1",
"@types/is-number": "^7.0.1",
"@types/isomorphic-fetch": "^0.0.35",
"@types/jest": "^29.5.13",
"@types/js-cookie": "^3.0.6",
"@types/lodash": "^4.14.176",
"@types/node": "^17.0.17",
"@types/testing-library__react": "10.2.0",
"concurrently": "^7.6.0",
"fetch-mock": "9.11.0",
"is-typedarray": "1.0.0",
"jest": "29.7.0",
"jest-serializer": "^28.0.0",
"rimraf": "^3.0.2",
"sass": "^1.80.3",
"shx": "^0.3.4",
"throat": "^6.0.2",
"ts-jest": "^27.0.7",
"ts-loader": "^9.2.6",
"typedarray-to-buffer": "4.0.0",
"typescript": "^4.4.4",
"w3c-hr-time": "^1.0.2"
},
"dependencies": {
"@wordpress/hooks": "^3.14.0",
"chalk": "^4.1.2",
"classnames": "^2.3.2",
"cookie": "^0.7.0",
"deepmerge": "^4.2.2",
"fast-xml-parser": "^4.4.1",
"isomorphic-fetch": "^3.0.0",
"js-cookie": "^3.0.5",
"js-sha256": "^0.9.0",
"lodash": "^4.17.21"
},
"overrides": {
"glob": "^10.4.5"
},
"scripts": {
"dev": "concurrently \"npm:watch-*\" --prefix-colors \"auto\"",
"build": "concurrently \"npm:build-*\" --prefix-colors \"auto\"",
"prebuild": "npm run clean",
"postbuild": "npm run package",
"clean": "rimraf dist",
"format": "prettier --write .",
"package": "node ../../scripts/package.js",
"prepublish": "npm run build",
"test:coverage:ci": "jest --ci --json --coverage --testLocationInResults --outputFile=report.json",
"test:coverage": "jest --coverage",
"test:format": "prettier . --check",
"test:watch": "jest --watch",
"test": "jest",
"build-cjs": "tsc -p tsconfig-cjs.json",
"build-js": "tsc -p .",
"build-fonts": "mkdir -p dist/fonts && shx cp src/fonts/* dist/fonts",
"build-styles": "sass src/styles/toolbar.scss dist/css/toolbar.css --embed-sources",
"watch-styles": "sass src/styles/toolbar.scss dist/css/toolbar.css --embed-sources --watch",
"watch-js": "concurrently \"npm:build-js -- --watch\" \"npm:build-cjs -- --watch\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/wpengine/faustjs.git"
},
"author": "Faust Team",
"license": "MIT",
"bugs": {
"url": "https://github.com/wpengine/faustjs/issues"
},
"homepage": "https://github.com/wpengine/faustjs#readme",
"engines": {
"node": ">=18",
"npm": ">=8"
}
}