UNPKG

@fluent-windows/core

Version:

React components that inspired by Microsoft's Fluent Design System.

77 lines 3.05 kB
{ "name": "@fluent-windows/core", "private": false, "version": "1.0.0", "description": "React components that inspired by Microsoft's Fluent Design System.", "author": "chenyueban <jasonchan0527@gmail.com>", "keywords": [ "react", "react components", "fluent-design", "fluent-windows" ], "repository": { "type": "git", "url": "https://github.com/fluent-org/fluent-windows", "directory": "packages/fluent-windows" }, "homepage": "https://fluent-windows.com/", "bugs": { "url": "https://github.com/fluent-org/fluent-windows/issues" }, "license": "MIT", "engines": { "node": ">=8.0.0" }, "scripts": { "prebuild": "cross-env NODE_ENV=production rimraf build", "build": "yarn build:cjs && yarn build:es && yarn build:iife && yarn build:umd && yarn build:copy-files", "build:cjs": "cross-env tsc --emitDeclarationOnly --outDir ./build && NODE_ENV=production BABEL_ENV=cjs babel --config-file ../../babel.config.js ./src --out-dir ./build --ignore \"src/**/*.test.ts\",\"src/**/*.test.tsx\" --extensions '.ts','.tsx'", "build:es": "cross-env tsc --emitDeclarationOnly --outDir ./build/es && NODE_ENV=production BABEL_ENV=es babel --config-file ../../babel.config.js ./src --out-dir ./build/es --ignore \"src/**/*.test.ts\",\"src/**/*.test.tsx\" --extensions '.ts','.tsx'", "build:iife": "cross-env BABEL_ENV=production-iife rollup -c ./rollup.config.js", "build:umd": "cross-env BABEL_ENV=production-umd rollup -c ./rollup.config.js", "build:copy-files": "ts-node ../../scripts/copy-files.ts", "start": "cross-env tsc -w --emitDeclarationOnly --outDir ./build/es && NODE_ENV=development BABEL_ENV=es babel -w --config-file ../../babel.config.js ./src --out-dir ./build/es --ignore \"src/**/*.test.ts\",\"src/**/*.test.tsx\" --extensions '.ts','.tsx'", "test": "cross-env NODE_ENV=test jest --coverage", "test:watch": "cross-env NODE_ENV=test jest --coverage --watch", "test:update": "cross-env NODE_ENV=test jest --updateSnapshot", "test:prod": "cross-env NODE_ENV=test jest --ci --coverage --runInBand --detectOpenHandles --forceExit && yarn codecov", "codecov": "cross-env NODE_ENV=test codecov" }, "peerDependencies": { "react": ">= 16.8.0", "react-dom": ">= 16.8.0" }, "dependencies": { "@fluent-windows/hooks": "^1.0.0", "@fluent-windows/icons": "^1.0.0", "@fluent-windows/styles": "^1.0.0", "@styled-system/prop-types": "^5.1.1", "async-validator": "^3.0.3", "classnames": "^2.2.6", "prop-types": "^15.7.2", "react-transition-group": "^4.2.1", "styled-system": "^5.1.1" }, "devDependencies": { "@types/classnames": "^2.2.9", "@types/node": "^10.11.0", "@types/prop-types": "^15.7.1", "@types/react": "^16.8.19", "@types/react-dom": "^16.8.4", "@types/react-transition-group": "^2.9.2", "@types/styled-system": "^5.1.1", "csstype": "^2.6.5" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "publishConfig": { "access": "public" }, "main": "./index.js", "module": "./es/index.js", "typings": "./index.d.ts" }