mirror of
https://github.com/zhigang1992/react-content-loader.git
synced 2026-03-27 22:54:39 +08:00
122 lines
3.2 KiB
JSON
Executable File
122 lines
3.2 KiB
JSON
Executable File
{
|
|
"name": "react-content-loader",
|
|
"version": "3.4.2",
|
|
"description": "SVG-Powered component to easily create placeholder loadings (like Facebook cards loading)",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/danilowoz/react-content-loader"
|
|
},
|
|
"author": "Danilo Woznica <danilowoz@gmail.com>",
|
|
"license": "MIT",
|
|
"main": "dist/react-content-loader.cjs.js",
|
|
"module": "dist/react-content-loader.es.js",
|
|
"jsnext:main": "dist/react-content-loader.es.js",
|
|
"types": "dist/src/index.d.ts",
|
|
"bugs": {
|
|
"url": "https://github.com/danilowoz/react-content-loader/issues"
|
|
},
|
|
"homepage": "https://github.com/danilowoz/react-content-loader",
|
|
"keywords": [
|
|
"react",
|
|
"facebook-style",
|
|
"loader",
|
|
"loading",
|
|
"content",
|
|
"svg"
|
|
],
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"dev": "docz dev",
|
|
"build": "rm -fr ./dist && rollup -c",
|
|
"test": "npm run tsc && jest",
|
|
"test:watch": "jest tests --watch",
|
|
"tsc": "node_modules/.bin/tsc",
|
|
"tsc:watch": "npm run tsc -- --watch",
|
|
"commit": "git-cz",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
"coverage": "codecov",
|
|
"release": "semantic-release"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.4.4",
|
|
"@babel/polyfill": "^7.4.4",
|
|
"@babel/preset-env": "^7.4.4",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@babel/register": "^7.4.4",
|
|
"@babel/runtime": "^7.4.4",
|
|
"@commitlint/cli": "^7.6.1",
|
|
"@commitlint/config-conventional": "^7.6.0",
|
|
"@types/jest": "^24.0.13",
|
|
"@types/react": "^16.8.17",
|
|
"@types/react-dom": "^16.8.4",
|
|
"@types/react-test-renderer": "^16.8.1",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-jest": "^24.8.0",
|
|
"commitizen": "^3.1.1",
|
|
"cz-conventional-changelog": "^2.1.0",
|
|
"docz": "^1.2.0",
|
|
"docz-theme-default": "^1.2.0",
|
|
"husky": "^2.3.0",
|
|
"jest": "^24.8.0",
|
|
"prettier": "^1.17.1",
|
|
"react": "^16.7.0",
|
|
"react-dom": "^16.8.6",
|
|
"react-test-renderer": "^16.8.6",
|
|
"remark-emoji": "^2.0.2",
|
|
"rollup": "1.12.3",
|
|
"rollup-plugin-analyzer": "^3.0.0",
|
|
"rollup-plugin-replace": "^2.2.0",
|
|
"rollup-plugin-typescript2": "^0.21.1",
|
|
"rollup-plugin-uglify": "^6.0.2",
|
|
"semantic-release": "^15.13.12",
|
|
"ts-jest": "^24.0.2",
|
|
"tslint": "^5.16.0",
|
|
"tslint-config-prettier": "^1.18.0",
|
|
"typescript": "^3.4.5"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.8.6"
|
|
},
|
|
"dependencies": {},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run format && npm run tsc",
|
|
"pre-push": "npm run test",
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"jest": {
|
|
"verbose": true,
|
|
"collectCoverage": true,
|
|
"coverageDirectory": "./coverage/",
|
|
"transform": {
|
|
"^.+\\.(t|j)sx?$": "ts-jest"
|
|
},
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
|
|
"roots": [
|
|
"<rootDir>/src"
|
|
],
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json",
|
|
"node"
|
|
]
|
|
}
|
|
}
|