|
5 | 5 | "type": "git", |
6 | 6 | "url": "git+https://github.com/wimpyprogrammer/regex-to-strings.git" |
7 | 7 | }, |
| 8 | + "publishConfig": { |
| 9 | + "registry": "https://registry.npmjs.org/" |
| 10 | + }, |
8 | 11 | "bugs": { |
9 | 12 | "url": "https://github.com/wimpyprogrammer/regex-to-strings/issues" |
10 | 13 | }, |
|
15 | 18 | "main": "lib/index.js", |
16 | 19 | "types": "./lib/index.d.ts", |
17 | 20 | "files": [ |
18 | | - "lib/" |
| 21 | + "lib/**/*.js", |
| 22 | + "lib/**/*.js.map", |
| 23 | + "lib/**/*.d.ts" |
19 | 24 | ], |
20 | 25 | "sideEffects": [ |
21 | 26 | "demo/**/polyfills.ts", |
|
26 | 31 | }, |
27 | 32 | "scripts": { |
28 | 33 | "build": "run-s build:*", |
29 | | - "build:src": "babel src -d lib --extensions '.js,.ts' --ignore '**/*.spec.js','**/*.spec.ts' --delete-dir-on-start", |
| 34 | + "build:src": "tsc -b --clean && tsc -b", |
30 | 35 | "build:demo": "wp --config demo/webpack.config.js", |
31 | | - "build:types": "tsc --noEmit false --emitDeclarationOnly", |
32 | 36 | "format": "prettier --write '{src,demo/src}/**'", |
33 | | - "lint": "tsc -b && eslint . --report-unused-disable-directives", |
| 37 | + "lint": "tsc -b ./tsconfig.lint.json && eslint . --report-unused-disable-directives", |
34 | 38 | "precommit": "pretty-quick --staged", |
35 | | - "prepublish": "npx publish-please guard", |
36 | | - "publish-please": "npx publish-please", |
37 | | - "publish-please-prereqs": "npm run lint && npm run test && npm run build", |
| 39 | + "release": "npx release-it", |
38 | 40 | "test": "jest --coverage" |
39 | 41 | }, |
40 | 42 | "devDependencies": { |
41 | | - "@babel/cli": "^7.13.10", |
42 | | - "@babel/core": "^7.13.10", |
43 | | - "@babel/plugin-proposal-class-properties": "^7.13.0", |
44 | | - "@babel/preset-env": "^7.13.10", |
45 | | - "@babel/preset-typescript": "^7.13.0", |
46 | | - "@types/escape-string-regexp": "^2.0.1", |
47 | 43 | "@types/history": "^4.7.3", |
48 | 44 | "@types/jest": "^26.0.10", |
49 | 45 | "@types/jest-when": "^2.4.1", |
|
0 commit comments