[FIX] MapList default terms -> Candidate + Cosmetics import.
[gargantext.git] / package.yaml
index e0131d1f9625799b3d49db3e6d65032812661bcd..fae865089f6c6d41a38f22c9cc2405e9a8ef282d 100644 (file)
@@ -1,6 +1,6 @@
 name: gargantext
-version: '0.1.0.0'
-synopsis: Deep (Collaborative) Text mining project
+version: '4.0.0.3'
+synopsis: Search, map, share
 description: Please see README.md
 category: Data
 author: Gargantext Team
@@ -15,133 +15,255 @@ dependencies:
 - text
 library:
   source-dirs: src
-  default-extensions: 
-  - NoImplicitPrelude
   ghc-options:
   - -Wincomplete-uni-patterns
   - -Wincomplete-record-updates
+  - -Wmissing-signatures
+  - -Wunused-binds
+  - -Wunused-imports
   - -Werror
   exposed-modules:
   - Gargantext
-  - Gargantext.Analysis
-  - Gargantext.DSL
+  - Gargantext.API
+  - Gargantext.API.Auth
+  - Gargantext.API.Count
+  - Gargantext.API.FrontEnd
+  - Gargantext.API.Node
+  - Gargantext.API.Orchestrator
+  - Gargantext.API.Search
+  - Gargantext.API.Settings
+  - Gargantext.Core
+  - Gargantext.Core.Types
+  - Gargantext.Core.Types.Main
+  - Gargantext.Core.Utils.Prefix
   - Gargantext.Database
-  - Gargantext.Database.Instances
-  - Gargantext.Database.Ngram
-  - Gargantext.Database.Node
-  - Gargantext.Database.Facet
-  - Gargantext.Database.NodeNgram
-  - Gargantext.Database.NodeNgramNgram
-  - Gargantext.Database.NodeNode
-  - Gargantext.Database.NodeNodeNgram
+  - Gargantext.Database.Flow
+  - Gargantext.Database.Schema.Node
+  - Gargantext.Database.Cooc
+  - Gargantext.Database.Tree
+  - Gargantext.Database.Types.Node
   - Gargantext.Database.Utils
-  - Gargantext.Database.User
-  - Gargantext.Ngrams
-  - Gargantext.Ngrams.Count
-  - Gargantext.Ngrams.CoreNLP
-  - Gargantext.Ngrams.Parser
-  - Gargantext.Ngrams.Lang.En
-  - Gargantext.Ngrams.Lang.Fr
-  - Gargantext.Ngrams.Metrics
-  - Gargantext.Ngrams.TextMining
-  - Gargantext.Ngrams.Occurrences
-  - Gargantext.Parsers
-  - Gargantext.Parsers.WOS
-  - Gargantext.Parsers.Date
+  - Gargantext.Database.Schema.User
   - Gargantext.Prelude
-  - Gargantext.RCT
-  - Gargantext.API
-  - Gargantext.API.Auth
-  - Gargantext.Types
-  - Gargantext.Types.Main
-  - Gargantext.Types.Node
-  - Gargantext.Utils.DateUtils
-  - Gargantext.Utils.Prefix
+  - Gargantext.Text
+  - Gargantext.Text.Context
+  - Gargantext.Text.Examples
+  - Gargantext.Text.List.CSV
+  - Gargantext.Text.Metrics
+  - Gargantext.Text.Metrics.CharByChar
+  - Gargantext.Text.Metrics.Count
+  - Gargantext.Text.Parsers
+  - Gargantext.Text.Parsers.CSV
+  - Gargantext.Text.Parsers.Date
+  - Gargantext.Text.Parsers.Wikimedia
+  - Gargantext.Text.Parsers.WOS
+  - Gargantext.Text.Search
+  - Gargantext.Text.Terms
+  - Gargantext.Text.Terms.Stop
+  - Gargantext.Text.Terms.Mono
+  - Gargantext.Text.Terms.Multi.Lang.En
+  - Gargantext.Text.Terms.Multi.Lang.Fr
+  - Gargantext.Text.Terms.Multi.RAKE
+  - Gargantext.Text.Terms.WithList
+  - Gargantext.Text.Flow
+  - Gargantext.Viz.Graph
+  - Gargantext.Viz.Graph.Distances.Matrice
+  - Gargantext.Viz.Graph.Index
   dependencies:
-  - base >=4.7 && <5
+  - QuickCheck
+  - accelerate
   - aeson
   - aeson-lens
-  - attoparsec
+  - aeson-pretty
   - async
+  - attoparsec
+  - base >=4.7 && <5
   - base16-bytestring
+  - blaze-html
   - bytestring
   - case-insensitive
-  - containers
-  - contravariant
+  - cassava
+  #- charsetdetect-ae  # detect charset
+  - clustering-louvain
   - conduit
   - conduit-extra
+  - containers
+  - contravariant
+  - data-time-segment
   - directory
   - duckling
+  - exceptions
   - filepath
+  - fullstop
+  - fclabels
+  - fast-logger
+  - full-text-search
+  - http-client
+  - http-client-tls
   - http-conduit
+  - http-api-data
+  - http-types
+  - hsparql
+  - hxt
+  - hlcm
   - ini
+  - insert-ordered-containers
+  - jose-jwt
+    #  - kmeans-vector
+  - KMP
   - lens
+  - located-base
   - logging-effect
+  - matrix
+  - monad-logger
+  - mtl
+  - natural-transformation
   - opaleye
-  - path
+  - pandoc
   - parsec
+  - patches-class
+  - patches-map
+  - path
+  - path-io
   - postgresql-simple
-  - pretty
+  - pretty-simple
+  - probability
   - product-profunctors
   - profunctors
   - protolude
   - pureMD5
+  - SHA
+  - rake
   - regex-compat
+  - resourcet
+  - rdf4h
   - safe
   - semigroups
   - servant
+  - servant-auth
+  - servant-blaze
   - servant-client
+  - servant-job
+  - servant-mock
   - servant-multipart
   - servant-server
-  - servant-auth
+  - servant-swagger
+  - servant-swagger-ui
+  - servant-static-th
+  - serialise
   - split
+  - stemmer
+  - string-conversions
+  - swagger2
   - tagsoup
   - text-metrics
-#  - utc
   - time
-  - timezone-series
   - time-locale-compat
+  - timezone-series
   - transformers
+  - transformers-base
   - unordered-containers
   - uuid
   - vector
   - wai
+  - wai-cors
+  - wai-extra
   - warp
+  - wreq
+  - xml-conduit
+  - xml-types
   - yaml
-  - zlib
   - zip
-  - path-io
+  - zlib
+#  - utc
 
-executable:
-  main: Main.hs
-  source-dirs:      app
-  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -O2
-  dependencies:
-    - gargantext
-    - ini
-    - base
-    - unordered-containers
+executables:
+  gargantext-server:
+    main: Main.hs
+    source-dirs: bin/gargantext-server
+    ghc-options:
+    - -O2
+    - -Wcompat
+    - -Wmissing-signatures
+    - -rtsopts
+    - -threaded
+    - -with-rtsopts=-N
+    dependencies:
+      - base
+      - containers
+      - gargantext
+      - vector
+      - cassava
+      - ini
+      - optparse-generic
+      - unordered-containers
+      - full-text-search
 
-tests:
-  garg-test:
+  gargantext-cli:
     main: Main.hs
-    source-dirs: src-test
+    source-dirs: bin/gargantext-cli
     ghc-options:
     - -threaded
     - -rtsopts
     - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
     dependencies:
-    - base
-    - gargantext
-    - hspec
-    - QuickCheck
+      - aeson
+      - async
+      - base
+      - bytestring
+      - containers
+      - gargantext
+      - vector
+      - cassava
+      - ini
+      - optparse-generic
+      - split
+      - unordered-containers
+      - full-text-search
+
+  gargantext-import:
+    main: Main.hs
+    source-dirs: bin/gargantext-import
+    ghc-options:
+    - -threaded
+    - -rtsopts
+    - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
+    dependencies:
+      - gargantext
+      - base
+      - servant-server
+
+tests:
+#   garg-test:
+#     main: Main.hs
+#     source-dirs: src-test
+#     ghc-options:
+#     - -threaded
+#     - -rtsopts
+#     - -with-rtsopts=-N
+#     dependencies:
+#     - base
+#     - gargantext
+#     - hspec
+#     - QuickCheck
+#     - quickcheck-instances 
+#     - time
+#     - parsec
+#     - duckling
+#     - text
   garg-doctest:
     main: Main.hs
     source-dirs: src-doctest
     ghc-options:
-    - -Werror
-    - -threaded
+    - -O2
+    - -Wcompat
+    - -Wmissing-signatures
     - -rtsopts
+    - -threaded
     - -with-rtsopts=-N
     dependencies:
     - doctest