Skip to content

Commit 1084ce9

Browse files
committed
Update
1 parent 34b5681 commit 1084ce9

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<!doctype>
1+
<!DOCTYPE html>
22
<html>
33
<head>
4-
<meta charset="utf-8"/>
4+
<meta charset="UTF-8">
55
<title>Hello Concur!</title>
66
</head>
77
<body>
88
<div id="root"></div>
9-
<script type="module" src="index.js"></script>
9+
<script src="./index.js" type="module"></script>
1010
</body>
1111
</html>

index.js renamed to dev/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as Main from './output/Main/index';
1+
import * as Main from '../output/Main/index';
22

33
function main () {
44
/*

package.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,14 @@
44
"description": "A Starter kit for Purescript-Concur. Uses Spago and Parcel.",
55
"main": "index.js",
66
"scripts": {
7+
"build": "spago build",
78
"test": "spago test",
9+
"start": "parcel dev/index.html --open",
10+
"watch": "parcel watch dev/index.html",
811
"clean": "rimraf .cache .spago .psci_modules output .pulp-cache prod dist",
9-
"build": "spago build",
10-
"dev": "rimraf dist && spago build && cross-env NODE_ENV=development parcel build --public-url ./ index.html",
11-
"prod": "rimraf prod dist && mkdir prod && spago bundle-app --main Main --to prod/index.prod.js && java -jar closure-compiler/closure-compiler-v20190301.jar --js prod/index.prod.js --js_output_file prod/index.js && cp index.html prod/index.html && parcel build --public-url ./ prod/index.html && rimraf prod",
12-
"start": "spago build && parcel index.html",
13-
"watch": "spago build && parcel watch index.html"
14-
},
15-
"author": {
16-
"name": "Anupam Jain",
17-
"email": "ajnsit at alphabet's email service"
12+
"dev": "rimraf dist && spago build && cross-env NODE_ENV=development parcel build --public-url ./ dev/index.html",
13+
"prod": "rimraf temp && rimraf dist && mkdir temp && cp dev/index.html temp/ && spago bundle-app --to temp/index.js && java -jar ../closure-compiler/closure-compiler-v20190301.jar --js temp/index.js --js_output_file temp/minified.js && mv temp/minified.js temp/index.js && parcel build --public-url ./ temp/index.html && rimraf temp",
14+
"docs": "cd examples && npm run examples-prod && cp docs/logo.png dist && cp docs/Purescript-Concur-Performance.png dist && rimraf docs && mv dist docs"
1815
},
1916
"license": "MIT",
2017
"dependencies": {

0 commit comments

Comments
 (0)