forked from lookbook-hq/lookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 3.82 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "lookbook",
"version": "2.0.5",
"description": "A native development UI for ViewComponent",
"targets": {
"app": {
"source": [
"./assets/js/iframe.js",
"./assets/js/index.js",
"./assets/css/lookbook.css",
"./assets/css/themes/indigo.css",
"./assets/css/themes/blue.css",
"./assets/css/themes/zinc.css",
"./assets/css/themes/green.css",
"./assets/css/themes/rose.css"
],
"distDir": "./public/lookbook-assets"
},
"embed": {
"source": "./assets/js/lookbook.js",
"distDir": "./public/lookbook-assets",
"outputFormat": "global",
"context": "browser",
"sourceMap": false
},
"embed-core": {
"source": "./assets/js/lookbook-core.js",
"distDir": "./public/lookbook-assets",
"outputFormat": "global",
"context": "browser",
"sourceMap": false
}
},
"alias": {
"@helpers/*": "./assets/js/helpers/$1",
"@lib/*": "./assets/js/lib/$1",
"@components/*": "./app/components/lookbook/$1"
},
"scripts": {
"dev": "npm run watch",
"watch": "npm run parcel:clean && concurrently npm:parcel:watch",
"build": "npm run parcel:clean && npm run themes:generate && npm run parcel:build",
"parcel:clean": "rm -rf .parcel-cache",
"parcel:watch": "parcel watch -p 5111",
"parcel:build": "parcel build --no-cache --no-optimize",
"themes:generate": "bin/generate-themes",
"themes:watch": "watch 'npm run themes:generate' ./theme --filter=./theme/watch.js",
"lint:fix": "bundle exec standardrb --fix && prettier --write .",
"release": "release-it --verbose",
"release:dry-run": "release-it --dry-run --verbose",
"prepare": "husky install"
},
"author": "Mark Perkins",
"license": "MIT",
"dependencies": {
"@alpinejs/collapse": "^3.12.1",
"@alpinejs/morph": "^3.12.1",
"@alpinejs/persist": "^3.12.1",
"@rails/actioncable": "^6.1.4",
"@ryangjchandler/alpine-tooltip": "^1.2.0",
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/typography": "^0.5.8",
"alpinejs": "^3.12.1",
"autoprefixer": "^10.4.13",
"iframe-resizer": "^4.3.2",
"js-cookie": "^3.0.5",
"loglevel": "^1.8.1",
"loglevel-plugin-prefix": "^0.8.4",
"lucide-static": "^0.216.0",
"split-grid": "^1.0.11",
"svgo": "^2.8.0",
"tailwindcss": "^3.3.2",
"throttle-debounce": "^5.0.0",
"tippy.js": "^6.3.2"
},
"devDependencies": {
"@parcel/resolver-glob": "^2.8.0",
"commitizen": "^4.2.5",
"concurrently": "^7.6.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.40.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.2",
"husky": "^8.0.2",
"lint-staged": "^13.2.2",
"parcel": "^2.8.0",
"postcss": "^8.4.23",
"postcss-import": "^15.0.0",
"postcss-import-ext-glob": "^2.0.1",
"prettier": "2.8.8",
"release-it": "^15.10.3",
"watch": "^0.13.0"
},
"lint-staged": {
"!(docs/**/*)": [
"prettier --write --ignore-unknown",
"npm run build"
],
"**/*.rb": [
"bundle exec standardrb --fix"
]
},
"release-it": {
"git": {
"commitMessage": "chore(${branchName}) release ${version}"
},
"github": {
"release": true,
"releaseName": "Release ${version}"
},
"npm": {
"publish": false
},
"hooks": {
"before:init": [
"npm install",
"bundle install",
"rake spec"
],
"after:bump": [
"bundle exec appraisal install",
"npm run lint:fix",
"npm run build"
],
"after:version:bump": "./bin/bump-version ${version} && bundle",
"after:release": "./bin/release ${version}"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}