|
1 | 1 | { |
2 | 2 | "name": "format-string-by-pattern", |
3 | | - "version": "1.0.0", |
| 3 | + "version": "0.0.0-semantically-released", |
4 | 4 | "description": "A module that formats a string based on a pattern", |
5 | | - "main": "dist/format-string-by-pattern.js", |
6 | | - "umd:main": "dist/format-string-by-pattern.umd.js", |
7 | | - "module": "dist/format-string-by-pattern.m.js", |
8 | | - "source": "src/format-string-by-pattern.js", |
| 5 | + "main": "dist/format-string-by-pattern.umd.js", |
| 6 | + "module": "dist/format-string-by-pattern.es5.js", |
| 7 | + "typings": "dist/types/format-string-by-pattern.d.ts", |
9 | 8 | "author": { |
10 | 9 | "name": "Arthur Denner", |
11 | 10 | |
12 | 11 | }, |
13 | 12 | "license": "MIT", |
14 | 13 | "scripts": { |
15 | | - "build": "npm run test && microbundle -o dist -i src", |
16 | | - "prepublishOnly": "git push && git push --tags", |
17 | | - "preversion": "npm run build", |
18 | | - "test": "xo && nyc ava", |
19 | | - "test:watch": "npm test -- --watch" |
| 14 | + "lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'", |
| 15 | + "prebuild": "rimraf dist docs", |
| 16 | + "build": "tsc --module commonjs && rollup -c rollup.config.ts && npm run typedoc", |
| 17 | + "start": "rollup -c rollup.config.ts -w", |
| 18 | + "test": "jest --coverage", |
| 19 | + "test:watch": "jest --coverage --watch", |
| 20 | + "test:prod": "npm run lint && npm run test -- --no-cache", |
| 21 | + "typedoc": "typedoc src", |
| 22 | + "report-coverage": "cat ./coverage/lcov.info | codecov", |
| 23 | + "commit": "git-cz", |
| 24 | + "semantic-release": "semantic-release", |
| 25 | + "semantic-release-prepare": "ts-node tools/semantic-release-prepare", |
| 26 | + "precommit": "lint-staged", |
| 27 | + "travis-deploy-once": "travis-deploy-once" |
20 | 28 | }, |
21 | 29 | "files": [ |
22 | 30 | "dist" |
|
26 | 34 | "string", |
27 | 35 | "pattern" |
28 | 36 | ], |
29 | | - "xo": { |
30 | | - "prettier": true, |
31 | | - "space": true |
32 | | - }, |
33 | | - "devDependencies": { |
34 | | - "ava": "1.0.0-beta.4", |
35 | | - "microbundle": "^0.4.4", |
36 | | - "nyc": "^11.7.1", |
37 | | - "xo": "^0.21.0" |
38 | | - }, |
39 | 37 | "repository": { |
40 | 38 | "type": "git", |
41 | 39 | "url": "https://github.com/arthurdenner/format-string-by-pattern.git" |
42 | 40 | }, |
43 | 41 | "bugs": { |
44 | 42 | "url": "https://github.com/arthurdenner/format-string-by-pattern/issues" |
45 | 43 | }, |
46 | | - "homepage": "https://github.com/arthurdenner/format-string-by-pattern#readme" |
| 44 | + "homepage": "https://github.com/arthurdenner/format-string-by-pattern#readme", |
| 45 | + "engines": { |
| 46 | + "node": ">=6.0.0" |
| 47 | + }, |
| 48 | + "lint-staged": { |
| 49 | + "{src,test}/**/*.ts": [ |
| 50 | + "prettier --write", |
| 51 | + "git add" |
| 52 | + ] |
| 53 | + }, |
| 54 | + "config": { |
| 55 | + "commitizen": { |
| 56 | + "path": "node_modules/cz-conventional-changelog" |
| 57 | + } |
| 58 | + }, |
| 59 | + "commitlint": { |
| 60 | + "extends": [ |
| 61 | + "@commitlint/config-conventional" |
| 62 | + ] |
| 63 | + }, |
| 64 | + "devDependencies": { |
| 65 | + "@commitlint/cli": "^7.1.2", |
| 66 | + "@commitlint/config-conventional": "^7.1.2", |
| 67 | + "@types/jest": "^23.3.2", |
| 68 | + "@types/node": "^10.11.0", |
| 69 | + "codecov.io": "^0.1.6", |
| 70 | + "commitizen": "^3.0.0", |
| 71 | + "cross-env": "^5.2.0", |
| 72 | + "cz-conventional-changelog": "^2.1.0", |
| 73 | + "husky": "^1.0.1", |
| 74 | + "jest": "^23.6.0", |
| 75 | + "jest-config": "^23.6.0", |
| 76 | + "lint-staged": "^8.0.0", |
| 77 | + "prettier": "^1.14.3", |
| 78 | + "rimraf": "^2.6.2", |
| 79 | + "rollup": "^0.67.0", |
| 80 | + "rollup-plugin-sourcemaps": "^0.4.2", |
| 81 | + "rollup-plugin-terser": "^4.0.4", |
| 82 | + "rollup-plugin-typescript2": "^0.18.0", |
| 83 | + "semantic-release": "^15.13.3", |
| 84 | + "travis-deploy-once": "^5.0.9", |
| 85 | + "ts-jest": "^23.10.2", |
| 86 | + "ts-node": "^7.0.1", |
| 87 | + "tslint": "^5.11.0", |
| 88 | + "tslint-config-prettier": "^1.15.0", |
| 89 | + "tslint-config-standard": "^8.0.1", |
| 90 | + "typedoc": "^0.12.0", |
| 91 | + "typescript": "^3.0.3" |
| 92 | + } |
47 | 93 | } |
0 commit comments