preact-layout
Version:
Small and simple layout library for preact
121 lines (120 loc) • 4.55 kB
JSON
{
"name": "preact-layout",
"version": "1.0.2",
"description": "Small and simple layout library for preact",
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"files": [
"dist",
"lib",
"es",
"src"
],
"scripts": {
"clean": "rimraf lib dist es coverage",
"test": "cross-env BABEL_ENV=commonjs jest",
"test:watch": "npm test -- --watch",
"test:cov": "npm test -- --coverage",
"test:examples": "babel-node examples/testAll.js",
"check:examples": "npm run build:examples && npm run test:examples",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack src/index.jsx dist/preact-layout.umd.js --display-modules --display-reasons --display-chunks",
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack src/index.jsx dist/preact-layout.min.js",
"build:examples": "babel-node examples/buildAll.js",
"build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
"prepublish": "npm run clean && npm run build && npm run test && check-es3-syntax lib/ dist/ --kill --print",
"docs:clean": "rimraf _book",
"docs:prepare": "gitbook install",
"docs:build": "npm run docs:prepare && gitbook build -g Download/preact-layout",
"docs:watch": "npm run docs:prepare && gitbook serve",
"docs:publish": "npm run docs:clean && npm run docs:build && cd _book && git init && git commit --allow-empty -m \"update book\" && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am \"update book\" && git push git@github.com:Download/preact-layout gh-pages --force"
},
"repository": {
"type": "git",
"url": "https://github.com/download/preact-layout.git"
},
"keywords": [
"preact",
"layout",
"template",
"1kB",
"Microscopically small",
"tiny",
"small",
"lay-out",
"jsx"
],
"author": "Stijn de Witt <StijnDeWitt@hotmail.com> (https://StijnDeWitt.com)",
"license": "CC-BY-4.0",
"bugs": {
"url": "https://github.com/download/preact-layout/issues"
},
"homepage": "http://download.github.io/preact-layout",
"dependencies": {
"preact": "^6.3.0",
"preact-render-to-string": "^3.2.1"
},
"devDependencies": {
"babel-cli": "^6.16.0",
"babel-core": "^6.17.0",
"babel-jest": "^16.0.0",
"babel-loader": "^6.2.0",
"babel-plugin-check-es2015-constants": "^6.3.13",
"babel-plugin-transform-es2015-arrow-functions": "^6.3.13",
"babel-plugin-transform-es2015-block-scoped-functions": "^6.3.13",
"babel-plugin-transform-es2015-block-scoping": "^6.3.13",
"babel-plugin-transform-es2015-classes": "^6.3.13",
"babel-plugin-transform-es2015-computed-properties": "^6.3.13",
"babel-plugin-transform-es2015-destructuring": "^6.16.0",
"babel-plugin-transform-es2015-for-of": "^6.3.13",
"babel-plugin-transform-es2015-function-name": "^6.3.13",
"babel-plugin-transform-es2015-literals": "^6.3.13",
"babel-plugin-transform-es2015-modules-commonjs": "^6.16.0",
"babel-plugin-transform-es2015-object-super": "^6.3.13",
"babel-plugin-transform-es2015-parameters": "^6.17.0",
"babel-plugin-transform-es2015-shorthand-properties": "^6.3.13",
"babel-plugin-transform-es2015-spread": "^6.3.13",
"babel-plugin-transform-es2015-sticky-regex": "^6.3.13",
"babel-plugin-transform-es2015-template-literals": "^6.3.13",
"babel-plugin-transform-es2015-unicode-regex": "^6.3.13",
"babel-plugin-transform-es3-member-expression-literals": "^6.5.0",
"babel-plugin-transform-es3-property-literals": "^6.5.0",
"babel-plugin-transform-object-rest-spread": "^6.16.0",
"babel-plugin-transform-react-jsx": "^6.8.0",
"babel-register": "^6.16.3",
"check-es3-syntax-cli": "^0.1.1",
"cross-env": "^3.1.1",
"gitbook-cli": "^2.3.0",
"glob": "^7.1.1",
"jest": "^16.0.1",
"loose-envify": "^1.1.0",
"preact-render-to-string": "^3.1.1",
"rimraf": "^2.3.4",
"touch": "^1.0.0",
"uevents": "^0.5.0",
"webpack": "^1.9.6"
},
"npmName": "preact-layout",
"npmFileMap": [
{
"basePath": "/dist/",
"files": [
"*.js"
]
}
],
"browserify": {
"transform": [
"loose-envify"
]
},
"jest": {
"testRegex": "(/test/.*\\.spec.jsx)$",
"moduleFileExtensions": [
"js",
"jsx"
]
}
}