Add browser-node-prod environments

This commit is contained in:
Juho Teperi 2018-03-13 21:26:28 +02:00
parent cd12a3188c
commit 5f47f8e9f0
18 changed files with 5991 additions and 0 deletions

View File

@ -0,0 +1 @@
../../demo

View File

@ -0,0 +1 @@
../../examples

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,16 @@
{
"private": true,
"dependencies": {
"@cljs-oss/module-deps": "1.1.1",
"create-react-class": "15.6.2",
"prop-types": "15.6.0",
"react": "15.6.2",
"react-dom": "15.6.2"
},
"devDependencies": {
"karma": "1.7.1",
"karma-chrome-launcher": "2.2.0",
"karma-cljs-test": "0.1.0",
"karma-junit-reporter": "1.2.0"
}
}

View File

@ -0,0 +1 @@
../../project.clj

View File

@ -0,0 +1 @@
../../site

View File

@ -0,0 +1 @@
../../src

View File

@ -0,0 +1 @@
../../test

View File

@ -0,0 +1,5 @@
#!/bin/bash
set -ex
lein do clean, doo chrome-headless prod-test once
test -f target/cljsbuild/prod-test/main.js
../../node_modules/.bin/gzip-size target/cljsbuild/prod-test/main.js

View File

@ -0,0 +1 @@
../../demo

View File

@ -0,0 +1 @@
../../examples

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,16 @@
{
"private": true,
"dependencies": {
"@cljs-oss/module-deps": "1.1.1",
"create-react-class": "15.6.2",
"prop-types": "15.6.0",
"react": "16.2.0",
"react-dom": "16.2.0"
},
"devDependencies": {
"karma": "1.7.1",
"karma-chrome-launcher": "2.2.0",
"karma-cljs-test": "0.1.0",
"karma-junit-reporter": "1.2.0"
}
}

View File

@ -0,0 +1 @@
../../project.clj

View File

@ -0,0 +1 @@
../../site

View File

@ -0,0 +1 @@
../../src

View File

@ -0,0 +1 @@
../../test

View File

@ -0,0 +1,5 @@
#!/bin/bash
set -ex
lein with-profile dev,node-react-16-prod do clean, doo chrome-headless prod-test once
test -f target/cljsbuild/prod-test/main.js
../../node_modules/.bin/gzip-size target/cljsbuild/prod-test/main.js