Skip to content

Commit 5213d7b

Browse files
committed
Bring up-to-date with create-react-app
1 parent d1ed173 commit 5213d7b

File tree

2 files changed

+19
-10
lines changed

2 files changed

+19
-10
lines changed

createReactWpTheme.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@ const scriptsFromGit = function() {
7878
};
7979

8080
const scriptsFromFile = function() {
81-
return {
82-
scriptsPath: "file:E:\\WPDev\\github\\devloco\\react-scripts-wptheme",
81+
// let filePath = "file:E:\\WPDev\\github\\devloco\\react-scripts-wptheme";
82+
let filePath = "file:/mnt/e/WPDev/github/devloco/create-react-app/packages/react-scripts";
83+
return {
84+
scriptsPath: filePath,
8385
callback: function() {}
8486
};
8587
};

package.json

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-react-wptheme",
3-
"version": "1.3.0",
3+
"version": "2.0.4-wptheme-2.0.0",
44
"description": "Create React WP themes with no build configuration.",
55
"main": "index.js",
66
"scripts": {
@@ -30,17 +30,24 @@
3030
"bugs": {
3131
"url": "https://github.com/devloco/create-react-wptheme/issues"
3232
},
33+
"files": [
34+
"index.js",
35+
"createReactWpTheme.js"
36+
],
3337
"homepage": "https://github.com/devloco/create-react-wptheme#readme",
3438
"bin": {
3539
"create-react-wptheme": "./index.js"
3640
},
3741
"dependencies": {
38-
"chalk": "^1.1.1",
39-
"commander": "^2.9.0",
40-
"cross-spawn": "^4.0.0",
41-
"envinfo": "3.4.2",
42-
"fs-extra": "^1.0.0",
43-
"semver": "^5.0.3",
44-
"validate-npm-package-name": "^3.0.0"
42+
"chalk": "1.1.3",
43+
"commander": "2.18.0",
44+
"cross-spawn": "4.0.2",
45+
"envinfo": "5.10.0",
46+
"fs-extra": "5.0.0",
47+
"hyperquest": "2.1.3",
48+
"semver": "5.5.1",
49+
"tar-pack": "3.4.1",
50+
"tmp": "0.0.33",
51+
"validate-npm-package-name": "3.0.0"
4552
}
4653
}

0 commit comments

Comments
 (0)