mirror of https://github.com/status-im/reagent.git
Merge pull request #329 from reagent-project/node-foreign-libs
WIP: Test with foreign libs in node
This commit is contained in:
commit
572d9dc2db
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"gzip-size-cli": "^2.1.0",
|
||||
"karma": "1.7.1",
|
||||
"karma-chrome-launcher": "2.2.0",
|
||||
"karma-cljs-test": "0.1.0",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
:description "A simple ClojureScript interface to React"
|
||||
|
||||
:dependencies [[org.clojure/clojure "1.8.0"]
|
||||
[org.clojure/clojurescript "1.9.946"]
|
||||
[org.clojure/clojurescript "1.10.126"]
|
||||
;; If :npm-deps enabled, these are used only for externs.
|
||||
;; Without direct react dependency, other packages,
|
||||
;; like react-leaflet might have closer dependency to a other version.
|
||||
|
|
|
@ -2,3 +2,4 @@
|
|||
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
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../../demo
|
|
@ -0,0 +1 @@
|
|||
../../examples
|
|
@ -0,0 +1 @@
|
|||
../../package-lock.json
|
|
@ -0,0 +1 @@
|
|||
../../package.json
|
|
@ -0,0 +1 @@
|
|||
../../project.clj
|
|
@ -0,0 +1 @@
|
|||
../../site
|
|
@ -0,0 +1 @@
|
|||
../../src
|
|
@ -0,0 +1 @@
|
|||
../../test
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
set -ex
|
||||
lein do clean, doo node node-test once
|
||||
test -f target/cljsbuild/node-test/out/cljsjs/react/development/react.inc.js
|
Loading…
Reference in New Issue