forked from opensourcepos/opensourcepos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-package.ps1
146 lines (102 loc) · 3.35 KB
/
build-package.ps1
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
# ------------------------------------------------------
# Run this Powershell script to "build" OSPOS.
# Execute this script from a terminal starting
# with the project root as the working directory.
# Use ".\build.ps1"
# The leading ".\" tells Powershell that you trust it.
# ------------------------------------------------------
# Tested with:
# Composer version 2.5.1
# Node.js version 18.14.0
# npm version 9.4.2
# ------------------------------------------------------
Write-Output "============================================================================="
Write-Output "Before continuing, delete the package-lock.json and clear the dependencies"
Write-Output "from package.json"
Write-Output "============================================================================="
Read-Host -Prompt "Press any key to continue"
# npm i [email protected]
Write-Output "bootstrap"
npm i [email protected]
Write-Output "bootswatch"
npm i [email protected]
Write-Output "bootstrap-daterangepicker"
npm i [email protected]
Write-Output "bootstrap-datetimepicker"
npm i git://github.com/smalot/bootstrap-datetimepicker.git#master
Write-Output "bootstrap-notify"
npm i [email protected]
Write-Output "bootstrap-select"
npm i [email protected]
Write-Output "bootstrap-table"
npm i [email protected]
Write-Output "bootstrap-tagsinput"
npm i [email protected]
Write-Output "bootstrap-toggle"
npm i [email protected]
Write-Output "bootstrap3-dialog"
npm i git://github.com/nakupanda/bootstrap3-dialog.git#master
Write-Output "jasny-bootstrap"
npm i [email protected]
Write-Output "bootstrap5"
npm i bootstrap5@npm:[email protected]
Write-Output "bootswatch5"
npm i bootswatch5@npm:[email protected]
Write-Output "jquery"
npm i [email protected]
Write-Output "jquery-ui-dist"
npm i [email protected]
Write-Output "jquery-form"
npm i [email protected]
Write-Output "tableexport.jquery.plugin"
npm i [email protected]
Write-Output "jquery-validation"
npm i [email protected]
Write-Output "clipboard"
npm i [email protected]
Write-Output "chartist"
npm i [email protected]
Write-Output "chartist-plugin-axistitle"
npm i [email protected]
Write-Output "chartist-plugin-pointlabels"
npm i [email protected]
Write-Output "chartist-plugin-barlabels"
npm i [email protected]
Write-Output "chartist-plugin-tooltip"
npm i git://github.com/tmmdata/chartist-plugin-tooltip.git#v0.0.18
Write-Output "coffeescript"
npm i [email protected]
Write-Output "html2canvas"
npm i [email protected]
Write-Output "js-cookie"
npm i [email protected]
Write-Output "jspdf"
npm i [email protected]
Write-Output "jspdf-autotable"
npm i [email protected]
Write-Output "es6-promise"
npm i [email protected]
Write-Output "npm-check-updates"
npm i -D [email protected]
Write-Output "gulp"
npm i -D [email protected]
Write-Output "gulp-clean"
npm i -D [email protected]
Write-Output "gulp-rev"
npm i -D [email protected]
Write-Output "gulp-inject"
npm i -D [email protected]
Write-Output "gulp-concat"
npm i -D [email protected]
Write-Output "gulp-clean-css"
npm i -D gulp-clean-css
Write-Output "gulp-rename"
npm i -D gulp-rename
Write-Output "gulp-uglify"
npm i -D gulp-uglify
Write-Output "gulp-debug"
npm i -D gulp-debug
Write-Output "stream-series"
npm i -D stream-series
Write-Output "readable-stream"
npm i -D readable-stream