improvement: first commit
Showing
.editorconfig
0 → 100644
.gitignore
0 → 100644
.travis.yml
0 → 100644
CONTRIBUTING.md
0 → 100644
LICENSE
0 → 100644
code-of-conduct.md
0 → 100644
package-lock.json
0 → 100644
此差异已折叠。
package.json
0 → 100644
{ | |||
"name": "rctest", | |||
"version": "0.0.0", | |||
"description": "", | |||
"keywords": [], | |||
"main": "dist/rctest.umd.js", | |||
"module": "dist/rctest.es5.js", | |||
"typings": "dist/types/rctest.d.ts", | |||
"files": [ | |||
"dist" | |||
], | |||
"author": " <>", | |||
"repository": { | |||
"type": "git", | |||
"url": "" | |||
}, | |||
"license": "MIT", | |||
"engines": { | |||
"node": ">=6.0.0" | |||
}, | |||
"scripts": { | |||
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'", | |||
"prebuild": "rimraf dist", | |||
"build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src", | |||
"start": "rollup -c rollup.config.ts -w", | |||
"test": "jest --coverage", | |||
"test:watch": "jest --coverage --watch", | |||
"test:prod": "npm run lint && npm run test -- --no-cache", | |||
"deploy-docs": "ts-node tools/gh-pages-publish", | |||
"report-coverage": "cat ./coverage/lcov.info | coveralls", | |||
"commit": "git-cz", | |||
"semantic-release": "semantic-release", | |||
"semantic-release-prepare": "ts-node tools/semantic-release-prepare", | |||
"precommit": "lint-staged", | |||
"travis-deploy-once": "travis-deploy-once" | |||
}, | |||
"lint-staged": { | |||
"{src,test}/**/*.ts": [ | |||
"prettier --write", | |||
"git add" | |||
] | |||
}, | |||
"config": { | |||
"commitizen": { | |||
"path": "node_modules/cz-conventional-changelog" | |||
} | |||
}, | |||
"jest": { | |||
"transform": { | |||
".(ts|tsx)": "ts-jest" | |||
}, | |||
"testEnvironment": "node", | |||
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", | |||
"moduleFileExtensions": [ | |||
"ts", | |||
"tsx", | |||
"js" | |||
], | |||
"coveragePathIgnorePatterns": [ | |||
"/node_modules/", | |||
"/test/" | |||
], | |||
"coverageThreshold": { | |||
"global": { | |||
"branches": 90, | |||
"functions": 95, | |||
"lines": 95, | |||
"statements": 95 | |||
} | |||
}, | |||
"collectCoverageFrom": [ | |||
"src/*.{js,ts}" | |||
] | |||
}, | |||
"prettier": { | |||
"semi": false, | |||
"singleQuote": true | |||
}, | |||
"commitlint": { | |||
"extends": [ | |||
"@commitlint/config-conventional" | |||
] | |||
}, | |||
"devDependencies": { | |||
"@commitlint/cli": "^7.1.2", | |||
"@commitlint/config-conventional": "^7.1.2", | |||
"@types/jest": "^23.3.2", | |||
"@types/node": "^10.11.0", | |||
"colors": "^1.3.2", | |||
"commitizen": "^3.0.0", | |||
"coveralls": "^3.0.2", | |||
"cross-env": "^5.2.0", | |||
"cz-conventional-changelog": "^2.1.0", | |||
"husky": "^1.0.1", | |||
"jest": "^23.6.0", | |||
"jest-config": "^23.6.0", | |||
"lint-staged": "^8.0.0", | |||
"lodash.camelcase": "^4.3.0", | |||
"prettier": "^1.14.3", | |||
"prompt": "^1.0.0", | |||
"replace-in-file": "^3.4.2", | |||
"rimraf": "^2.6.2", | |||
"rollup": "^0.67.0", | |||
"rollup-plugin-commonjs": "^9.1.8", | |||
"rollup-plugin-json": "^3.1.0", | |||
"rollup-plugin-node-resolve": "^3.4.0", | |||
"rollup-plugin-sourcemaps": "^0.4.2", | |||
"rollup-plugin-typescript2": "^0.18.0", | |||
"semantic-release": "^15.9.16", | |||
"shelljs": "^0.8.3", | |||
"travis-deploy-once": "^5.0.9", | |||
"ts-jest": "^23.10.2", | |||
"ts-node": "^7.0.1", | |||
"tslint": "^5.11.0", | |||
"tslint-config-prettier": "^1.15.0", | |||
"tslint-config-standard": "^8.0.1", | |||
"typedoc": "^0.12.0", | |||
"typescript": "^3.0.3" | |||
} | |||
} |
rollup.config.ts
0 → 100644
src/rctest.ts
0 → 100644
test/rctest.test.ts
0 → 100644
tools/gh-pages-publish.ts
0 → 100644
tools/semantic-release-prepare.ts
0 → 100644
tsconfig.json
0 → 100644
tslint.json
0 → 100644
想要评论请 注册 或 登录