forked from studio-lagier/wordpress-shortcode-webpack-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.12 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
{
"name": "wordpress-shortcode-webpack-plugin",
"version": "0.0.15",
"main": "dist/src/index.js",
"keywords": [
"webpack",
"react",
"wordpress",
"webpack-plugin",
"wordpress-plugin"
],
"description": "Create Wordpress plugins from React apps built using Webpack",
"repository": "[email protected]:studio-lagier/wordpress-shortcode-webpack-plugin.git",
"author": "Tom Lagier <[email protected]>",
"license": "MIT",
"scripts": {
"copy-php-files": "mkdir -p dist/src && cp src/*.php dist/src",
"build": "yarn clean && yarn copy-php-files && tsc",
"clean": "rm -rf ./dist/*",
"test": "yarn test:v4 && yarn test:v5",
"test:v4": "node set-webpack-version.js \"^4\" && yarn && yarn build && ava",
"test:v5": "node set-webpack-version.js \"^5\" && yarn && yarn build && ava",
"test-watch": "yarn build && ava --verbose test/index.ts --watch",
"prepack": "yarn build"
},
"devDependencies": {
"@ava/typescript": "^2.0.0",
"@types/glob": "^7.1.3",
"@types/uuid": "^8.3.0",
"@types/webpack-manifest-plugin": "^3.0.4",
"@types/webpack4": "npm:@types/webpack@^4",
"@types/webpack5": "npm:@types/webpack@^5",
"@types/yazl": "^2.4.2",
"ava": "^3.15.0",
"del": "^6.0.0",
"eslint": "^7.24.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"glob": "^7.1.6",
"ts-node": "^9.1.1",
"typescript": "^4.2.4",
"webpack": "^4",
"webpack-merge": "^5.7.3",
"webpack4": "npm:webpack@^4",
"webpack5": "npm:webpack@^5"
},
"dependencies": {
"uuid": "^8.3.2",
"webpack-manifest-plugin": "^3.1.1",
"yazl": "^2.5.1"
},
"peerDependencies": {
"react": ">=16.0.0",
"webpack": "^4"
},
"ava": {
"typescript": {
"rewritePaths": {
"src/": "dist/src/",
"test/": "dist/test/"
},
"compile": "tsc"
},
"ignoredByWatcher": [
"dist/test/output/**/*"
],
"files": [
"!test/utils.ts"
]
},
"files": [
"src",
"dist/src"
],
"types": "dist/src/index.d.ts"
}