mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-28 23:12:22 +03:00
34 lines
1.2 KiB
JSON
34 lines
1.2 KiB
JSON
{
|
|
"name": "elm-pages-example",
|
|
"version": "1.0.0",
|
|
"description": "Example site built with elm-pages.",
|
|
"scripts": {
|
|
"watch": "elm-pages --watch",
|
|
"start": "concurrently \"npm:watch\" \"parcel src/index.html\"",
|
|
"start:prod": "npm run build && http-server ./dist -a localhost -p 3000 -c-1",
|
|
"build": "npm run build:pages && npm run build:manifest && npm run build:serviceworker",
|
|
"build:pages": "rm -rf dist && parcel build src/index.html",
|
|
"build:manifest": "parcel build src/js/generate-manifest.ts --out-file generate-manifest.js --target node --bundle-node-modules --no-source-maps && node ./dist/generate-manifest.js",
|
|
"build:serviceworker": "workbox generateSW workbox-config.js",
|
|
"test": "elm-test",
|
|
"autotest": "elm-test --watch"
|
|
},
|
|
"author": "Dillon Kearns",
|
|
"license": "BSD-3",
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@types/node": "^12.6.8",
|
|
"concurrently": "^4.1.1",
|
|
"elm": "^0.19.0-no-deps",
|
|
"elm-hot": "^1.0.1",
|
|
"elm-pages": "^1.0.4",
|
|
"elm-test": "^0.19.0-rev6",
|
|
"http-server": "^0.11.1",
|
|
"node-elm-compiler": "^5.0.3",
|
|
"parcel-bundler": "^1.12.3",
|
|
"parcel-plugin-prerender": "^1.4.1",
|
|
"typescript": "^3.5.3",
|
|
"workbox-cli": "^4.3.1"
|
|
}
|
|
}
|