From 3c1aa997151da02e7bc6f156bb61b52d7a7bbf8a Mon Sep 17 00:00:00 2001 From: MO Date: Wed, 15 Jan 2020 16:25:58 +0800 Subject: [PATCH 1/3] chore: add missing dependencies in example --- packages/examples/basic/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/examples/basic/package.json b/packages/examples/basic/package.json index 9d3e597c4..635488257 100644 --- a/packages/examples/basic/package.json +++ b/packages/examples/basic/package.json @@ -23,6 +23,8 @@ "clean": "rimraf lib .next out dist" }, "devDependencies": { - "@zeit/next-css": "^1.0.1" + "@zeit/next-css": "^1.0.1", + "cross-env": "^6.0.3", + "next-compose-plugins": "^2.2.0" } } From aefe7b359f40f5caed9ae07f8702d3b7696ff5ae Mon Sep 17 00:00:00 2001 From: Prev Wong Date: Fri, 17 Jan 2020 18:47:09 +0800 Subject: [PATCH 2/3] chore: add typescript to devDependencies --- packages/examples/landing/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/examples/landing/package.json b/packages/examples/landing/package.json index cea2116aa..9ebc35654 100644 --- a/packages/examples/landing/package.json +++ b/packages/examples/landing/package.json @@ -45,6 +45,7 @@ "next-compose-plugins": "^2.2.0", "postcss-import": "^12.0.1", "postcss-preset-env": "^6.7.0", - "tailwindcss": "^1.1.3" + "tailwindcss": "^1.1.3", + "typescript": "^3.7.5" } } From 2d2297d1e8065abfde3f4d2dd77e8566128b3603 Mon Sep 17 00:00:00 2001 From: Prev Wong Date: Fri, 17 Jan 2020 18:47:37 +0800 Subject: [PATCH 3/3] readme: yarn => npm --- packages/examples/basic/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/examples/basic/README.md b/packages/examples/basic/README.md index baa80d2f7..a5417b299 100644 --- a/packages/examples/basic/README.md +++ b/packages/examples/basic/README.md @@ -8,6 +8,6 @@ Check out the live demo [here](https://craft.js.org/examples/basic/) ```bash > git clone https://github.com/prevwong/craft.js/ > cd craft.js/packages/examples/basic -> yarn install -> yarn dev +> npm install +> npm dev ```