nornj-react
Version:
React bindings for NornJ template engine.
77 lines (76 loc) • 3.83 kB
JSON
{
"name": "nornj-react",
"version": "5.3.5",
"description": "React bindings for NornJ template engine.",
"main": "dist/nornj-react.common.js",
"module": "dist/nornj-react.esm.js",
"unpkg": "dist/nornj-react.js",
"jsdelivr": "dist/nornj-react.js",
"files": [
"dist/",
"lib/",
"es/",
"mobx/",
"native/",
"router/",
"antd/",
"src/",
"types/",
"index.d.ts",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"scripts": {
"cjs": "cross-env NODE_ENV=cjs rollup -c -o dist/nornj-react.common.js",
"esm": "cross-env NODE_ENV=es rollup -c -o dist/nornj-react.esm.js",
"umd": "cross-env NODE_ENV=development rollup -c -o dist/nornj-react.js",
"min": "cross-env NODE_ENV=production rollup -c -o dist/nornj-react.min.js",
"umd:mobx": "cross-env NODE_ENV=development WITH_EX=Mobx rollup -c -o dist/nornj-react-mobx.js",
"min:mobx": "cross-env NODE_ENV=production WITH_EX=Mobx rollup -c -o dist/nornj-react-mobx.min.js",
"umd:router": "cross-env NODE_ENV=development WITH_EX=Router rollup -c -o dist/nornj-react-router.js",
"min:router": "cross-env NODE_ENV=production WITH_EX=Router rollup -c -o dist/nornj-react-router.min.js",
"lib": "babel src --out-dir lib --extensions \".js,.jsx,.ts,.tsx\" --config-file \"../../.babelrc\"",
"es": "babel src --out-dir es --extensions \".js,.jsx,.ts,.tsx\" --config-file \"../../esm.babelrc\"",
"lib:mobx": "babel mobx/base.js --out-file mobx/index.js --extensions \".js,.jsx,.ts,.tsx\" --config-file \"../../.babelrc\"",
"lib:mobxFormData": "babel mobx/formData/base.js --out-file mobx/formData/index.js --extensions \".js,.jsx,.ts,.tsx\" --config-file \"../../.babelrc\"",
"lib:router": "babel router/base.js --out-file router/index.js --extensions \".js,.jsx,.ts,.tsx\" --config-file \"../../.babelrc\"",
"lib:native": "babel native/base.js --out-file native/index.js --extensions \".js,.jsx,.ts,.tsx\" --config-file \"../../.babelrc\"",
"build:antd": "babel src/extension/antd --out-dir antd --copy-files && babel src/extension/antd --out-dir antd --ignore \"src/extension/antd/**/index.d.ts\" --extensions \".js,.jsx,.ts,.tsx\" --config-file \"../../.babelrc\" && rimraf \"./antd/**/+(index|css).ts\"",
"lib:antd": "babel src/extension/antd --out-dir antd/lib --copy-files && babel src/extension/antd --out-dir antd/lib --ignore \"src/extension/antd/**/index.d.ts\" --extensions \".js,.jsx,.ts,.tsx\" --config-file \"./antd.babelrc\" && rimraf \"./antd/lib/**/+(index|css).ts\"",
"dts": "cross-env TYPE=dts NODE_ENV=es rollup -c -o types/nornj-react.d.ts",
"build": "yarn run lib && yarn run es && yarn run lib:mobx && yarn run lib:mobxFormData && yarn run lib:router && yarn run lib:native && yarn run build:antd && yarn run lib:antd && yarn run cjs && yarn run esm && yarn run umd && yarn run umd:mobx && yarn run umd:router && yarn run min && yarn run min:mobx && yarn run min:router && yarn run dts"
},
"keywords": [
"nornj",
"nj",
"template",
"react"
],
"repository": {
"type": "git",
"url": "https://github.com/joe-sky/nornj.git"
},
"bugs": {
"url": "https://github.com/joe-sky/nornj/issues"
},
"author": "Joe_Sky <hitomi_doax@sina.com>",
"license": "MIT",
"devDependencies": {
"@types/react-native": "^0.60.22",
"@types/react-redux": "^7.1.5",
"@types/react-router-dom": "^5.1.2",
"antd": "^4.3.0",
"async-validator": "^3.2.3",
"babel-plugin-import": "^1.13.0",
"babel-plugin-module-resolver": "^3.2.0",
"babel-plugin-nornj-in-jsx": "^5.3.5",
"mobx": "^5.15.4",
"mobx-react": "^6.2.2",
"mobx-react-lite": "^1.2.0",
"nornj": "^5.3.5",
"react-redux": "^7.1.3",
"react-router-dom": "^5.1.2"
},
"gitHead": "0249d4a4b8d2006e510fb8e94ae68406526ed2b1"
}