95 lines
2.9 KiB
JSON
95 lines
2.9 KiB
JSON
{
|
|
"name": "attestation-derogatoire-de-deplacement",
|
|
"version": "1.0.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=localversion parcel ./src/index.html",
|
|
"start:grid": "cross-env 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: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-deplacement-derogatoire-q4-2020"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/lab-mi/attestation-deplacement-derogatoire-q4-2020/issues"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.3",
|
|
"@babel/plugin-transform-runtime": "^7.12.1",
|
|
"babel-eslint": "^10.1.0",
|
|
"copy-and-watch": "^0.1.5",
|
|
"cross-env": "^7.0.2",
|
|
"eslint": "^7.12.1",
|
|
"eslint-config-standard": "^16.0.0",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"eslint-plugin-standard": "^4.0.2",
|
|
"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",
|
|
"posthtml-expressions": "^1.6.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"
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
}
|