mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-11-13 17:25:34 +01:00
Move css to the library.
This commit is contained in:
parent
7a14ed1b60
commit
e4e28dbce4
|
@ -24,4 +24,8 @@ module.exports = {
|
|||
globals: {
|
||||
TZ: "utc",
|
||||
},
|
||||
transform: {
|
||||
"^.+\\.js$": "babel-jest",
|
||||
"^.+\\.css$": "jest-transform-css",
|
||||
},
|
||||
};
|
||||
|
|
693
package-lock.json
generated
693
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
13
package.json
13
package.json
|
@ -16,12 +16,13 @@
|
|||
"dependencies": {
|
||||
"axios": "^0.19.0",
|
||||
"immutability-helper": "^3.0.0",
|
||||
"jest-transform-css": "^2.0.0",
|
||||
"moment": "^2.24.0",
|
||||
"moment-timezone": "^0.5.25",
|
||||
"prop-types": "^15.7.2",
|
||||
"react-datetime": "^2.16.3",
|
||||
"react-router": "^5.0.1",
|
||||
"react-uid": "^2.2.0",
|
||||
"moment": "^2.24.0",
|
||||
"moment-timezone": "^0.5.25"
|
||||
"react-uid": "^2.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.9.0",
|
||||
|
@ -42,6 +43,7 @@
|
|||
"babel-plugin-module-resolver": "^3.2.0",
|
||||
"babel-plugin-react-transform": "^3.0.0",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"copy-webpack-plugin": "^5.0.4",
|
||||
"css-loader": "^3.2.0",
|
||||
"eslint": "^6.1.0",
|
||||
"eslint-config-airbnb": "^18.0.1",
|
||||
|
@ -61,9 +63,8 @@
|
|||
"webpack": "^4.41.0"
|
||||
},
|
||||
"scripts": {
|
||||
"watch": "babel src --verbose --watch --out-dir dist --ignore '**/__tests__' --source-maps inline",
|
||||
"build": "rm -rf dist; babel src --out-dir dist --ignore '**/__tests__' --source-maps inline",
|
||||
"build:watch": "babel src --verbose --watch --out-dir dist --ignore '**/__tests__' --source-maps inline",
|
||||
"build": "rm -rf dist; babel src --out-dir dist --ignore '**/__tests__' --source-maps inline --copy-files",
|
||||
"build:watch": "babel src --verbose --watch --out-dir dist --ignore '**/__tests__' --source-maps inline --copy-files",
|
||||
"prepare": "rm -rf ./dist && npm run build",
|
||||
"lint": "eslint src",
|
||||
"test": "jest",
|
||||
|
|
|
@ -9,6 +9,7 @@ import React from "react";
|
|||
|
||||
import PropTypes from "prop-types";
|
||||
import { Input } from "./Input";
|
||||
import "./NumberInput.css";
|
||||
|
||||
NumberInput.propTypes = {
|
||||
/** Field label. */
|
||||
|
|
|
@ -5,9 +5,6 @@
|
|||
* See /LICENSE for more information.
|
||||
*/
|
||||
|
||||
const path = require("path");
|
||||
|
||||
|
||||
module.exports = {
|
||||
title: "Foris JS docs",
|
||||
sections: [
|
||||
|
@ -51,9 +48,6 @@ module.exports = {
|
|||
],
|
||||
},
|
||||
},
|
||||
require: [
|
||||
path.join(__dirname, "css/custom.css"),
|
||||
],
|
||||
webpackConfig: {
|
||||
module: {
|
||||
rules: [
|
||||
|
|
Loading…
Reference in New Issue
Block a user