-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 1.33 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
{
"name": "tk-percura-2fa",
"description": "Talenteca Percura 2FA",
"version": "1.0.0",
"private": true,
"license": "MPL-2.0",
"scripts": {
"clean": "rm -rf elm-stuff",
"compile:elm": "elm make --debug src/Main.elm --output=public/assets/js/elm.js",
"compile:css": "postcss src/styles.pcss -o public/assets/css/styles.css",
"compile": "run-p compile:elm compile:css",
"dev": "run-p watch serve",
"build": "elm make src/Main.elm --output=public/assets/js/elm.js --optimize",
"compress": "uglifyjs public/assets/js/elm.js --compress 'pure_funcs=[F2,F3,F4,F5,F6,F7,F8,F9,A2,A3,A4,A5,A6,A7,A8,A9],pure_getters,keep_fargs=false,unsafe_comps,unsafe' | uglifyjs --mangle --output public/assets/js/elm.js",
"build:dist": "run-p build compile:css && yarn compress && yarn sw",
"serve": "serve public",
"watch:elm": "watch 'yarn run compile:elm' src",
"watch:css": "watch 'yarn run compile:css' src",
"watch": "run-p watch:elm watch:css",
"sw": "uglifyjs src/sw.js --compress -o public/sw.js"
},
"dependencies": {
"serve": "13"
},
"devDependencies": {
"autoprefixer": "^10.2.5",
"cssnano": "5",
"@lydell/elm": "^0.19.1-14",
"npm-run-all": "^4.1.5",
"postcss": "^8.2.9",
"postcss-cli": "9",
"tailwindcss": "3",
"uglify-js": "^3.15.1",
"watch": "^1.0.2"
}
}