-
Notifications
You must be signed in to change notification settings - Fork 198
/
Copy pathpackage.json
154 lines (154 loc) · 4.24 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "formeo",
"version": "3.1.3",
"type": "module",
"main": "dist/formeo.cjs.js",
"module": "dist/formeo.es.js",
"unpkg": "dist/formeo.umd.js",
"exports": {
".": {
"import": "./dist/formeo.es.js",
"require": "./dist/formeo.cjs.js",
"default": "./dist/formeo.umd.js"
}
},
"files": [
"dist/*",
"demo/**/*"
],
"homepage": "https://formeo.io",
"repository": {
"url": "https://github.com/Draggable/formeo",
"type": "git"
},
"author": "Draggable https://draggable.io",
"contributors": [
{
"name": "Kevin Chappell",
"email": "[email protected]",
"url": "https://kevin-chappell.com"
}
],
"bugs": {
"url": "https://github.com/draggable/formeo/issues"
},
"description": "A zero dependency JavaScript module for drag and drop form creation.",
"keywords": [
"drag and drop",
"form builder",
"form maker",
"forms"
],
"license": "MIT",
"ignore": [
"**/*",
"node_modules",
"test"
],
"config": {
"files": {
"test": [
"test/**/*.spec.js"
],
"formeo-editor": {
"js": "src/js/editor.js"
},
"formeo-renderer": {
"js": "src/js/renderer.js"
},
"site": [
"demo/assets/sass/site.scss"
]
}
},
"scripts": {
"dev": "vite",
"preview": "vite preview",
"build:lib": "vite build --config vite.config.lib.mjs",
"build": "npm-run-all -p build:icons build:demo",
"prebuild": "npm run build:lib",
"postbuild": "npm run generate:jsonSchema",
"build:demo": "vite build --mode demo",
"postbuild:demo": "node --no-warnings tools/copy-assets.mjs",
"build:demo:watch": "vite build --mode demo --watch",
"build:icons": "node ./tools/generate-sprite",
"lint": "eslint ./src --ext .js || true",
"test": "node --experimental-test-snapshots --require ./tools/test-setup.cjs --test --no-warnings src/**/*.test.{js,mjs}",
"test:watch": "node --watch --experimental-test-snapshots --require ./tools/test-setup.cjs --test --no-warnings src/**/*.test.{js,mjs}",
"test:updateSnapshots": "node --experimental-test-snapshots --test-update-snapshots --require ./tools/test-setup.cjs --test --no-warnings src/**/*.test.{js,mjs}",
"test:ci": "npm test --coverage",
"start": "npm-run-all build:icons dev",
"semantic-release": "semantic-release --ci --debug",
"copy:lang": "node ./tools/copy-directory.mjs ./node_modules/formeo-i18n/dist/lang ./src/demo/assets/lang",
"travis-deploy-once": "travis-deploy-once --pro",
"prepush": "npm test",
"prepare": "lefthook install",
"postmerge": "lefthook install",
"generate:jsonSchema": "node --experimental-strip-types --no-warnings ./tools/generate-json-schema.ts"
},
"devDependencies": {
"@biomejs/biome": "^1.9.3",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^12.0.1",
"ace-builds": "^1.36.5",
"jsdom": "^25.0.1",
"lefthook": "^1.7.18",
"npm-run-all": "^2.1.0",
"sass-embedded": "^1.80.1",
"semantic-release": "^24.1.2",
"svg-sprite": "^2.0.4",
"vite": "^5.4.8",
"vite-plugin-banner": "^0.8.0",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.2.2",
"zod": "^3.23.8",
"zod-to-json-schema": "^3.23.5"
},
"dependencies": {
"@draggable/formeo-languages": "^3.1.3",
"@draggable/i18n": "^1.0.7",
"@draggable/tooltip": "^1.2.2",
"lodash": "^4.17.21",
"sortablejs": "^1.15.3"
},
"release": {
"branch": "master",
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
],
"prepare": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test"
]
]
}
}
}