forked from RensTillmann/super-forms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 3.67 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
{
"name": "super-forms",
"version": "1.0.0",
"description": "Documentation:\r https://renstillmann.github.io/super-forms",
"main": "index.js",
"directories": {
"doc": "docs"
},
"scripts": {
"delswaps": "find . -type f \\( -name \".*.swp\" -o -name \".*.swo\" \\) -exec rm -f {} + && find . -type d -name \".sass-cache\" -exec rm -rf {} +",
"jshint": "jshint src/",
"rmuploads": "bash build.sh",
"rmrf": "rm -rf dist/* && rm -rf docs && npm run rmuploads",
"sass": "sass src/assets/css/frontend/elements.sass src/assets/css/frontend/elements.css",
"copyfiles": "cp -r src/* dist/super-forms/ && cp -r src/docs docs",
"delsass": "find dist/ -name \"*.sass\" -type f -delete && find dist/ -name \"*.css.map\" -type f -delete",
"minifyjs": "node build/uglify.js",
"minifycss": "node build/cleancss.js",
"copybundle": "cp -r dist/super-forms/* dist/super-forms-bundle/",
"deladdons": "rm -rf dist/super-forms/add-ons",
"delstripe": "rm -rf dist/super-forms-bundle/add-ons/super-forms-stripe",
"delvcfcard": "rm -rf dist/super-forms-bundle/add-ons/super-forms-vcf-card",
"delwccustom": "rm -rf dist/super-forms-bundle/add-ons/super-forms-wc-custom-orders",
"delfelisting": "rm -rf dist/super-forms-bundle/add-ons/super-forms-front-end-listing",
"deldevaddons": "npm run delstripe && npm run delvcfcard && npm run delwccustom && npm run delfelisting",
"copyaddons": "cp -r dist/super-forms-bundle/add-ons/* dist/",
"delcodes1": "sed -i '/build-SUPER_FORMS_BUNDLE/,/build-SUPER_FORMS_BUNDLE_END/d' dist/super-forms/super-forms.php",
"dellines1": "sed -i '/build-SUPER_FORMS_BUNDLE/d' dist/super-forms-bundle/super-forms.php",
"delcodes2": "sed -i '/build-SUPER_FORMS_BUNDLE/,/build-SUPER_FORMS_BUNDLE_END/d' dist/super-forms-email-reminders/super-forms-email-reminders.php",
"dellines2": "sed -i '/build-SUPER_FORMS_BUNDLE/d' dist/super-forms-bundle/add-ons/super-forms-email-reminders/super-forms-email-reminders.php",
"delcodes3": "sed -i '/build-SUPER_FORMS_BUNDLE/,/build-SUPER_FORMS_BUNDLE_END/d' dist/super-forms/includes/class-common.php",
"dellines3": "sed -i '/build-SUPER_FORMS_BUNDLE/d' dist/super-forms-bundle/includes/class-common.php",
"renamelines": "npm run delcodes1 && npm run delcodes2 && npm run delcodes3 && npm run dellines1 && npm run dellines2 && npm run dellines3 && sed -i \"s:Super Forms - Drag & Drop Form Builder:Super Forms - All In One Bundle:g\" dist/super-forms-bundle/super-forms.php",
"zip": "bash zip.sh",
"dev": "npm run delswaps && npm run rmrf && npm run sass && npm run copyfiles && npm run copybundle && npm run deladdons && npm run copyaddons && npm run renamelines",
"minify": "npm run delswaps && npm run rmrf && npm run sass && npm run copyfiles && npm run delsass && npm run minifyjs && npm run minifycss && npm run copybundle && npm run deladdons && npm run copyaddons && npm run renamelines && npm run zip",
"prod": "npm run delswaps && npm run rmrf && npm run sass && npm run copyfiles && npm run delsass && npm run copybundle && npm run deladdons && npm run copyaddons && npm run renamelines && npm run zip && rm -rf gitzip* && npm run deldevaddons"
},
"repository": {
"type": "git",
"url": "git+https://github.com/RensTillmann/super-forms.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/RensTillmann/super-forms/issues"
},
"homepage": "https://github.com/RensTillmann/super-forms#readme",
"devDependencies": {
"clean-css": "^4.2.1",
"eslint": "^5.16.0",
"jshint": "^2.10.2",
"uglify-js": "^3.6.0"
},
"dependencies": {
"help": "^3.0.2",
"html2canvas": "^1.0.0-rc.5",
"sass": "^1.23.0"
}
}