@youcan/cli 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +18 -0
  2. package/bin/index.js +1 -0
  3. package/package.json +70 -0
package/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # youcan-cli
2
+
3
+ YouCan CLI is a command line utility for building custom YouCan themes. It can be installed and run on Mac, Linux, and Windows systems. Using the CLI requires you to have pre-requisite knowledge of the YouCan themes system documented [here](https://developer.youcan.shop/).
4
+
5
+ ## Requirements
6
+
7
+ The YouCan CLI requires that you install the latest version of [Node.js](https://nodejs.org/en/download/) and [npm](https://docs.npmjs.com/getting-started), or whichever node package manger you prefer.
8
+
9
+ ## Installation
10
+
11
+ ```shell
12
+ npm install -g @youcan/cli
13
+ ```
14
+
15
+ ## Help
16
+
17
+ - [Open a GitHub issue](https://github.com/youcan-shop/youcan-cli/issues) - For bug reports and feature requests, you can open an issue in the YouCan CLI repository.
18
+ - [CLI documentation - Theme development](https://developer.youcan.shop/themes/cli/introduction.html) - Visit our forums to connect with the community and learn more about Shopify CLI development.
package/bin/index.js ADDED
@@ -0,0 +1 @@
1
+ import('../dist/index.js')
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@youcan/cli",
3
+ "type": "module",
4
+ "version": "1.0.0",
5
+ "description": "YouCan CLI for developers.",
6
+ "author": "YouCan <contact@youcan.shop> (https://youcan.shop)",
7
+ "keywords": [],
8
+ "exports": {
9
+ ".": {
10
+ "require": "./dist/index.js",
11
+ "import": "./dist/index.js"
12
+ }
13
+ },
14
+ "main": "./dist/index.js",
15
+ "types": "./dist/dts/index.d.ts",
16
+ "bin": {
17
+ "youcan": "bin/index.js"
18
+ },
19
+ "files": [
20
+ "bin",
21
+ "dist"
22
+ ],
23
+ "dependencies": {
24
+ "archiver": "^5.3.1",
25
+ "cac": "^6.7.14",
26
+ "chokidar": "^3.5.3",
27
+ "decompress": "^4.2.1",
28
+ "execa": "^6.1.0",
29
+ "formdata-node": "^5.0.0",
30
+ "kleur": "^4.1.5",
31
+ "node-fetch": "^3.2.10",
32
+ "prompts": "^2.4.2",
33
+ "puppeteer": "^19.2.2",
34
+ "ramda": "^0.28.0",
35
+ "socket.io": "^4.5.3",
36
+ "socket.io-client": "^4.5.3"
37
+ },
38
+ "devDependencies": {
39
+ "@azuradara/eslint-config-base": "^0.1.3",
40
+ "@azuradara/eslint-config-ts": "^0.1.3",
41
+ "@types/archiver": "^5.3.1",
42
+ "@types/file-saver": "^2.0.5",
43
+ "@types/node": "^18.11.9",
44
+ "@types/prompts": "^2.4.1",
45
+ "@types/ramda": "^0.28.19",
46
+ "@types/rimraf": "^3.0.2",
47
+ "@vitest/coverage-c8": "^0.25.2",
48
+ "@vitest/ui": "^0.25.2",
49
+ "bumpp": "^8.2.1",
50
+ "eslint": "^8.27.0",
51
+ "esno": "^0.16.3",
52
+ "pnpm": "^7.14.2",
53
+ "rimraf": "^3.0.2",
54
+ "rollup": "^3.2.5",
55
+ "rollup-plugin-dts": "^5.0.0",
56
+ "rollup-plugin-typescript2": "^0.34.1",
57
+ "typescript": "^4.8.4",
58
+ "vite": "^3.2.4",
59
+ "vitest": "^0.24.5"
60
+ },
61
+ "scripts": {
62
+ "build": "tsc --noEmit && rollup --config rollup.config.js",
63
+ "dev": "rollup --config rollup.config.js --watch",
64
+ "lint": "eslint .",
65
+ "release": "bumpp && pnpm publish",
66
+ "typecheck": "tsc --noEmit",
67
+ "test": "vitest",
68
+ "check": "pnpm typecheck && pnpm lint && pnpm run test"
69
+ }
70
+ }