UNPKG

outlets

Version:

Observables for mere mortals.

58 lines (57 loc) 1.85 kB
{ "name": "outlets", "version": "0.4.1", "description": "Observables for mere mortals.", "author": "James K Nelson <james@jamesknelson.com>", "license": "MIT", "main": "./dist/commonjs/index.js", "module": "./dist/es/index.js", "types": "./src/index.ts", "scripts": { "clean": "rimraf dist", "build:commonjs": "tsc --pretty --module commonjs --outDir dist/commonjs", "build:es": "tsc --pretty --module es2015 --outDir dist/es", "build:umd": "tsc --pretty --module es2015 --outDir dist/umd-intermediate && cross-env NODE_ENV=development rollup -c -o dist/umd/outlets.js && rimraf dist/umd-intermediate", "build:umd:min": "tsc --pretty --module es2015 --outDir dist/umd-intermediate && cross-env NODE_ENV=production rollup -c -o dist/umd/outlets.min.js && rimraf dist/umd-intermediate", "build": "npm run build:es && npm run build:commonjs && npm run build:umd && npm run build:umd:min", "build:watch": "npm run clean && npm run build:es -- --watch", "prepublish": "npm run clean && npm run build && npm run test", "test": "jest", "test:watch": "jest --watch" }, "keywords": [ "outlets", "observables" ], "devDependencies": { "@types/jest": "^22.1.0", "cross-env": "^5.0.5", "jest": "^22.1.4", "react": "^16.2.0", "rimraf": "^2.6.2", "rollup": "^0.50.0", "rollup-plugin-commonjs": "^8.2.6", "rollup-plugin-node-resolve": "^3.0.0", "ts-jest": "^22.0.1", "typescript": "^2.6.2", "zen-observable": "^0.7.1" }, "jest": { "transform": { "^.+\\.tsx?$": "ts-jest" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json" ], "globals": { "ts-jest": { "skipBabel": true } } } }