-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.42 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
{
"name": "hatch",
"description": "Minimal Shopify OS2 theme build tools using Shopify CLI, Rollupjs and Tailwinds/Postcss",
"version": "1.0.0",
"main": "index.js",
"author": {
"name": "Jonathan Moore",
"url": "https://github.com/jonathanmoore/"
},
"license": "MIT",
"browserslist": [
"last 2 Chrome versions"
],
"scripts": {
"clean": "rimraf dist && mkdir dist",
"dev": "npm run clean && npm run build && npm-run-all --parallel dev:*",
"dev:rollup": "NODE_ENV=development rollup -c --watch",
"dev:postcss": "NODE_ENV=development TAILWIND_MODE=watch postcss src/styles/{theme.css,sections/*.css} --dir dist/assets --watch",
"dev:shopify": "cd ./dist && shopify theme serve",
"build": "npm-run-all --sequential build:*",
"build:rollup": "NODE_ENV=production rollup -c",
"build:postcss": "NODE_ENV=production postcss src/styles/{theme.css,sections/*.css} --dir dist/assets",
"deploy": "npm-run-all --sequential deploy:*",
"deploy:build": "npm-run-all --sequential build:*",
"deploy:shopify": "cd ./dist && shopify theme push --development",
"package": "npm-run-all --sequential package:*",
"package:build": "npm-run-all --sequential build:*",
"package:shopify": "cd ./dist && shopify theme package",
"package:copy": "mkdir -p build && cpy 'dist/*.zip' build"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.7",
"@jonathanmoore/rollup-plugin-copy": "^3.5.1",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-eslint": "^8.0.1",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@shopify/stylelint-plugin": "^10.1.2",
"chokidar": "^3.5.2",
"colorette": "^1.2.2",
"cpy-cli": "^3.1.1",
"eslint": "^7.29.0",
"fs-extra": "^10.0.0",
"globby": "^11.0.4",
"is-plain-object": "^5.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.3.5",
"postcss-cli": "^8.3.1",
"postcss-import": "^14.0.2",
"postcss-nested": "^5.0.5",
"prettier": "^2.3.2",
"rollup": "^2.52.4",
"rollup-plugin-multi-input": "^1.3.1",
"stylelint": "^13.13.1",
"tailwindcss": "^2.2.4"
},
"dependencies": {
"canvas-confetti": "^1.4.0"
},
"stylelint": {
"extends": [
"@shopify/stylelint-plugin/prettier"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": false
}
}