79 lines
2.3 KiB
JSON
79 lines
2.3 KiB
JSON
{
|
|
"name": "deplacement-covid-19",
|
|
"version": "0.0.1",
|
|
"description": "Générateur d'attestation de déplacement dérogatoire'",
|
|
"main": "certificate.js",
|
|
"scripts": {
|
|
"lint": "eslint ./*.js",
|
|
"start": "cross-env VERSION=${VERSION:-localversion} parcel --public-url ${PUBLIC_URL:-/deplacement-covid-19} ./src/index.html",
|
|
"clean:dist": "rimraf dist",
|
|
"prebuild": "run-s lint clean:dist",
|
|
"build": "parcel build --public-url ${PUBLIC_URL:-/deplacement-covid-19} ./src/index.html ./src/robots.txt ./src/sitemap.xml",
|
|
"postbuild": "PUBLIC_URL=${PUBLIC_URL:-/deplacement-covid-19} react-snap",
|
|
"preserve": "npm run build",
|
|
"serve": "serve dist",
|
|
"serve:dist": "serve dist"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/lab-mi/deplacement-covid-19"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/lab-mi/deplacement-covid-19/issues"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.9.0",
|
|
"@babel/plugin-transform-runtime": "^7.9.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"copy-and-watch": "^0.1.4",
|
|
"cross-env": "^7.0.2",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-standard": "^14.1.1",
|
|
"eslint-plugin-import": "^2.20.2",
|
|
"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.1",
|
|
"postcss-nested-ancestors": "^2.0.0",
|
|
"postcss-preset-env": "^6.7.0",
|
|
"react-snap": "^1.23.0",
|
|
"rimraf": "^3.0.2",
|
|
"serve": "^11.3.0"
|
|
},
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome-svg-core": "^1.2.28",
|
|
"@fortawesome/free-solid-svg-icons": "^5.13.0",
|
|
"bootstrap": "^4.4.1",
|
|
"pdf-lib": "^1.4.1",
|
|
"qrcode": "^1.4.4"
|
|
},
|
|
"browserslist": [
|
|
"last 5 versions"
|
|
],
|
|
"reactSnap": {
|
|
"source": "dist",
|
|
"minifyHtml": {
|
|
"collapseWhitespace": false,
|
|
"removeComments": false
|
|
}
|
|
},
|
|
"cache": {
|
|
"globPatterns": [
|
|
"**/*.{html,js,css,jpg,png,pdf,svg,eot,ttf,woff,woff2}"
|
|
],
|
|
"disablePlugin": false,
|
|
"inDev": true,
|
|
"strategy": "default",
|
|
"clearDist": false,
|
|
"templatedURLs": {
|
|
"./": ["index.html"]
|
|
} }
|
|
}
|