forked from wpengine/atlas-content-modeler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 2.87 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
87
88
89
90
91
92
93
94
95
96
{
"name": "@wpengine/atlas-content-modeler",
"version": "0.24.0",
"description": "",
"targets": {
"settings": {
"source": "includes/settings/js/src/index.jsx",
"distDir": "includes/settings/dist/",
"publicUrl": ".",
"sourceMap": true
},
"publisher": {
"source": "includes/publisher/js/src/index.jsx",
"distDir": "includes/publisher/dist/",
"publicUrl": ".",
"sourceMap": true
}
},
"scripts": {
"build": "npm run build-settings && npm run build-publisher",
"build-settings": "PARCEL_WORKERS=0 parcel build --target=settings --no-source-maps --no-scope-hoist",
"build-publisher": "PARCEL_WORKERS=0 parcel build --target=publisher --no-source-maps --no-scope-hoist",
"build-readme": "node scripts/buildReadme.js",
"clean": "rm -rf .parcel-cache/ includes/publisher/dist/ includes/settings/dist/",
"start": "parcel watch",
"start-settings": "parcel watch --target=settings",
"start-publisher": "parcel watch --target=publisher",
"style": "prettier --check .",
"style:fix": "prettier --write .",
"test": "jest --watch",
"test-no-watch": "jest",
"lint": "eslint './includes/**/*.{js,jsx}'",
"lint:fix": "eslint './includes/**/*.{js,jsx}' --fix",
"prepare": "husky install"
},
"author": "",
"license": "MIT",
"browserslist": "> 0.2%",
"dependencies": {
"@babel/plugin-syntax-jsx": "^7.12.13",
"@emotion/react": "^11.7.1",
"@wordpress/api-fetch": "^3.21.5",
"@wordpress/data": "6.1.5",
"bootstrap": "^5.1.3",
"react": "16.13.1",
"react-beautiful-dnd": "^13.1.0",
"react-dom": "16.13.1",
"react-ga4": "^1.0.5",
"react-hook-form": "^6.15.4",
"react-modal": "^3.12.1",
"react-router-dom": "^5.2.0",
"react-toastify": "^7.0.3",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/core": "^7.13.1",
"@babel/plugin-transform-runtime": "^7.13.7",
"@babel/preset-env": "^7.13.5",
"@babel/preset-react": "^7.12.13",
"@parcel/transformer-sass": "^2.8",
"babel-jest": "^27.2.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"husky": "^6.0.0",
"jest": "^27",
"jest-css-modules-transform": "^4.2.0",
"jest-transform-css": "^6.0.0",
"parcel": "^2.8.3",
"postcss": "^8.2.15",
"prettier": "^2.2.1",
"react-test-renderer": "^17.0.1",
"sass": "^1.32.8"
},
"alias": {
"react": {
"global": "React"
},
"react-dom": {
"global": "ReactDOM"
},
"@wordpress/api-fetch": {
"global": "wp.apiFetch"
},
"acm-analytics": "./includes/shared-assets/js/analytics.js",
"acm-icons": "./includes/components/icons",
"@wordpress/i18n": {
"global": "wp.i18n"
},
"@wordpress/data": {
"global": "wp.data"
}
}
}