forked from formio/formio.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
181 lines (181 loc) · 6.25 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
"name": "@formio/js",
"version": "5.0.0-rc.27",
"description": "JavaScript powered Forms with JSON Form Builder",
"main": "lib/cjs/index.js",
"module": "lib/mjs/index.js",
"exports": {
".": {
"import": "./lib/mjs/index.js",
"require": "./lib/cjs/index.js"
},
"./sdk": {
"import": "./lib/mjs/Formio.js",
"require": "./lib/cjs/Formio.js"
},
"./utils": {
"import": "./lib/mjs/utils/index.js",
"require": "./lib/cjs/utils/index.js"
},
"./form": {
"import": "./lib/mjs/formio.form.js",
"require": "./lib/cjs/formio.form.js"
},
"./embed": {
"import": "./lib/mjs/formio.embed.js",
"require": "./lib/cjs/formio.embed.js"
}
},
"types": "index.d.ts",
"files": [
"dist",
"lib",
"types",
"index.d.ts"
],
"pre-commit": [
"lint"
],
"scripts": {
"build": "yarn doc && yarn lib && yarn dist",
"doc": "esdoc",
"dist": "gulp clean:dist && webpack --config webpack.config.js && webpack --config webpack.prod.js && gulp build",
"lib": "gulp clean:lib && tsc --project tsconfig.cjs.json && tsc --project tsconfig.mjs.json && yarn lib:package",
"lib:package": "node ./libpackage.js",
"version": "node -e 'console.log(require(`./package.json`).version)'",
"build-app": "yarn build-app:create-app && yarn build-app:jekyll && yarn build-app:remove-app",
"build-app:create-app": "node -e 'var fs=require(`fs`);fs.writeFileSync(`./_config.app.yml`, `baseurl: /` + require(`./package.json`).version + `/`);'",
"build-app:remove-app": "rm ./_config.app.yml",
"build-app:jekyll": "jekyll build --config _config.yml,_config.app.yml",
"gh-pages": "rm -rf _site && npm run build && jekyll build --config _config.yml && cd _site && git init && git remote add origin [email protected]:formio/formio.js.git && git checkout -b gh-pages && git add . && git commit -m \"Deploy to GitHub Pages\" && git push origin gh-pages --force && cd ..",
"deploy-s3": "$(node -e 'process.stdout.write(`aws s3 cp _site s3://formiojs.test-form.io/` + require(`./package.json`).version + `/ --recursive`)')",
"invalidate": "VERSION=$(yarn version);aws cloudfront create-invalidation --distribution-id E1MXNA5A4ZKRMZ --paths \"/$VERSION/*\"",
"release": "yarn build-app && yarn deploy-s3",
"tag": "VERSION=$(yarn version);git add -A; git commit -m \"Build $Version\";git push origin master;git tag v$VERSION;git push origin --tags;",
"dopublish": "npm run build && npm run tag && npm publish",
"lint": "gulp eslint",
"serve": "jekyll serve --config _config.yml,_config.dev.yml",
"test": "mocha 'src/**/*.unit.js'",
"test:updateRenders": "npm run lib && TZ=UTC node --require jsdom-global/register test/updateRenders.js",
"test:e2e": "NODE_OPTIONS=\"--max-old-space-size=4096\" karma start --verbose --single-run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/formio/formio.js.git"
},
"contributors": [
{
"name": "Form.io Open Source Community",
"url": "https://github.com/formio/formio.js/graphs/contributors"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/formio/formio.js/issues"
},
"browser": {
"vm": false
},
"homepage": "https://github.com/formio/formio.js#readme",
"dependencies": {
"@formio/bootstrap": "^3.0.0-rc.13",
"@formio/choices.js": "^10.2.0",
"@formio/core": "1.3.0-rc.16",
"@formio/text-mask-addons": "^3.8.0-formio.2",
"@formio/vanilla-text-mask": "^5.1.1-formio.1",
"abortcontroller-polyfill": "^1.7.5",
"autocompleter": "^8.0.4",
"bootstrap": "^5.3.0",
"browser-cookies": "^1.2.0",
"browser-md5-file": "^1.1.1",
"compare-versions": "^6.0.0-rc.2",
"core-js": "^3.32.1",
"dialog-polyfill": "^0.5.6",
"dom-autoscroller": "^2.3.4",
"dompurify": "^3.0.5",
"downloadjs": "^1.4.7",
"dragula": "^3.7.3",
"eventemitter3": "^5.0.1",
"fast-deep-equal": "^3.1.3",
"fast-json-patch": "^3.1.1",
"fetch-ponyfill": "^7.1.0",
"idb": "^7.1.1",
"ismobilejs": "^1.1.1",
"json-logic-js": "^2.0.2",
"jstimezonedetect": "^1.0.7",
"jwt-decode": "^3.1.2",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"moment-timezone": "^0.5.43",
"quill": "^2.0.0-dev.3",
"signature_pad": "^4.1.4",
"string-hash": "^1.1.3",
"tippy.js": "^6.3.7",
"uuid": "^9.0.0",
"vanilla-picker": "^2.12.2"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"ace-builds": "1.23.4",
"async-limiter": "^2.0.0",
"bootstrap-icons": "^1.10.5",
"bootswatch": "^5.3.0",
"browser-env": "^3.3.0",
"chai": "^4.3.7",
"chance": "^1.1.9",
"ejs-loader": "^0.5.0",
"escape-string-regexp": "^5.0.0",
"esdoc": "^1.1.0",
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
"esdoc-standard-plugin": "^1.0.0",
"eslint": "^8.43.0",
"eslint-config-formio": "^1.1.4",
"fetch-mock": "^9.11.0",
"file-loader": "^6.2.0",
"flatpickr": "^4.6.13",
"font-awesome": "^4.7.0",
"gulp": "^4.0.2",
"gulp-clean": "^0.4.0",
"gulp-clean-css": "^4.3.0",
"gulp-concat": "^2.6.1",
"gulp-eslint": "^6.0.0",
"gulp-filter": "^7.0.0",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.3",
"gulp-sass": "^5.1.0",
"gulp-sync": "^0.1.4",
"gulp-watch": "^5.0.1",
"hoek": "^6.1.3",
"jquery": "^3.7.0",
"jsdom": "^22.1.0",
"jsdom-global": "^3.0.2",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-phantomjs-launcher": "^1.0.4",
"karma-webpack": "^5.0.0",
"mocha": "^10.2.0",
"mock-local-storage": "^1.1.24",
"natives": "^1.1.6",
"power-assert": "^1.6.1",
"pre-commit": "^1.2.2",
"pretty": "^2.0.0",
"pygments-css": "^1.0.0",
"raw-loader": "^4.0.2",
"sass": "^1.63.6",
"shortcut-buttons-flatpickr": "^0.4.0",
"sinon": "^15.2.0",
"string-replace-loader": "^3.1.0",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"typescript": "~5.0.4",
"webpack": "^5.88.1",
"webpack-bundle-analyzer": "^4.9.0",
"webpack-cli": "^5.1.1",
"webpack-node-externals": "^3.0.0",
"webpack-stream": "^7.0.0",
"written-number": "^0.11.1"
}
}