forked from timber/starter-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.9 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
{
"name": "thinkwp",
"version": "1.0.0",
"description": "thinkwp",
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"autoprefixer": "^10.3.6",
"concurrently": "^6.3.0",
"cssnano": "^5.0.8",
"dotenv": "^8.2.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"find-config": "^1.0.0",
"parcel": "^2.0.0",
"postcss": "^8.3.8",
"postcss-import": "^14.0.2",
"postcss-loader": "^4.0.0",
"postcss-nested": "^5.0.6",
"postcss-preset-env": "^7.4.3",
"prettier": "^2.4.1",
"prettier-plugin-tailwindcss": "^0.1.8",
"prettier-plugin-twig-melody": "^0.4.6",
"style-dictionary": "^3.1.1",
"tailwindcss": "^3.0.5"
},
"scripts": {
"build": "concurrently -c \"magenta,blue\" \"npm:theme.bundle.prod\" \"npm:theme.bundle.admin\"",
"clear-cache": "rm -rf .parcel-cache",
"format": "concurrently -c \"magenta,blue,green\" \"npm:format.tokens\" \"npm:format.assets\"",
"format.assets": "eslint assets --fix && prettier --write assets",
"format.tokens": "style-dictionary build --config style-dictionary.config.js",
"preinstall": "npx check-node-version --node $(cat .nvmrc)",
"prettier": "prettier --write css/**/*.css js/**/*.js",
"start": "npm run theme.watch",
"theme.bundle.dev": "NODE_ENV=development parcel build ./assets/motif.js --dist-dir ./dist --public-url ./dist",
"theme.bundle.prod": "NODE_ENV=production parcel build ./assets/motif.js --dist-dir ./dist --public-url ./dist",
"theme.bundle.admin": "NODE_ENV=production parcel build ./assets/motif-admin.js --dist-dir ./dist --public-url ./dist",
"theme.watch": "NODE_ENV=development parcel watch ./assets/motif.js ./assets/motif-admin.js --dist-dir ./dist --public-url ./dist"
},
"author": "ThinkShout, Inc",
"license": "GPL-3.0",
"@parcel/transformer-css": {
"drafts": {
"customMedia": true
}
}
}