-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
98 lines (98 loc) · 3.06 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
{
"name": "attestation-couvre-feu",
"version": "1.1.5",
"description": "Générateur d'attestation de déplacement dérogatoire'",
"main": "certificate.js",
"scripts": {
"lint": "eslint src/**/*.js",
"preformat": "prettier --write \"src/**/*.js\"",
"format": "npm run lint -- --fix",
"start": "cross-env VERSION=${VERSION:-localversion} parcel ./src/index.html",
"start:grid": "cross-env VERSION=${VERSION:-localversion} parcel ./src/grid.html",
"clean:dist": "rimraf dist",
"prebuild": "run-p lint clean:dist",
"build:simple": "cross-env-shell VERSION=$npm_package_version parcel build --public-url '$PUBLIC_URL' ./src/index.html ./src/robots.txt ./src/sitemap.xml",
"build": "cross-env npm run build:simple",
"postbuild": "cross-env-shell react-snap",
"prebuild:ci": "run-p lint clean:dist",
"build:ci": "cross-env npm run build:simple",
"postbuild:ci": "cross-env-shell react-snap",
"build:prod": "cross-env PUBLIC_URL='/attestation-couvre-feu-covid-19' npm run build:simple",
"build:test": "cross-env PUBLIC_URL='/euqiremun' npm run build:simple",
"build:dev": "cross-env PUBLIC_URL='/' npm run build:simple",
"preserve": "npm run build",
"serve": "serve dist",
"serve:dist": "serve dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lab-mi/attestation-couvre-feu-prive"
},
"keywords": [],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/lab-mi/attestation-couvre-feu-prive/issues"
},
"devDependencies": {
"@babel/core": "^7.12.0",
"@babel/plugin-transform-runtime": "^7.12.0",
"babel-eslint": "^10.1.0",
"copy-and-watch": "^0.1.5",
"cross-env": "^7.0.2",
"eslint": "^7.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.12.4",
"parcel-plugin-sw-cache": "^0.3.1",
"postcss-current-selector": "0.0.3",
"postcss-nested": "^4.2.3",
"postcss-nested-ancestors": "^2.0.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.1.2",
"react-snap": "^1.23.0",
"rimraf": "^3.0.2",
"serve": "^11.3.2"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.32",
"@fortawesome/free-solid-svg-icons": "^5.15.1",
"bootstrap": "^4.5.3",
"pdf-lib": "^1.11.2",
"qrcode": "^1.4.4",
"remove-accents": "^0.4.2",
"secure-ls": "^1.2.6"
},
"browserslist": [
"last 5 versions"
],
"reactSnap": {
"source": "dist",
"minifyHtml": {
"collapseWhitespace": false,
"removeComments": false
},
"puppeteerArgs": [
"--no-sandbox",
"--disable-setuid-sandbox"
]
},
"cache": {
"globPatterns": [
"**/*.{html,js,css,jpg,png,pdf,svg,eot,ttf,woff,woff2}"
],
"disablePlugin": false,
"inDev": true,
"strategy": "default",
"clearDist": false,
"templatedURLs": {
"./": [
"index.html"
]
}
}
}