|
1 | 1 | { |
2 | | - "name": "react-on-rails-pro-dummy-placeholder", |
| 2 | + "name": "react-on-rails-pro-node-renderer", |
3 | 3 | "version": "16.2.0-beta.11", |
4 | | - "description": "Placeholder package.json for react_on_rails_pro dummy app - actual Pro package is at packages/react-on-rails-pro", |
| 4 | + "description": "React on Rails Pro Node Renderer for server-side rendering", |
5 | 5 | "private": true, |
6 | 6 | "directories": { |
7 | 7 | "doc": "docs" |
|
37 | 37 | "node-html-parser": "^7.0.1", |
38 | 38 | "nps": "^5.9.12", |
39 | 39 | "pino-pretty": "^13.0.0", |
40 | | - "react-on-rails": "link:.yalc/react-on-rails", |
41 | 40 | "redis": "^5.0.1", |
42 | 41 | "sentry-testkit": "^5.0.6", |
43 | 42 | "touch": "^3.1.0", |
|
60 | 59 | } |
61 | 60 | }, |
62 | 61 | "scripts": { |
63 | | - "preinstall": "node ./script/preinstall.js", |
64 | | - "postinstall": "test -f post-yarn-install.local && ./post-yarn-install.local || true", |
65 | | - "link-source": "cd ../packages/react-on-rails && yarn && yalc publish", |
66 | | - "test": "nps test", |
| 62 | + "build": "yarn run clean && yarn run tsc", |
| 63 | + "build-watch": "yarn run clean && yarn run tsc --watch", |
| 64 | + "clean": "rm -rf ./lib", |
| 65 | + "developing": "nps node-renderer.debug", |
| 66 | + "test": "jest tests", |
| 67 | + "type-check": "yarn run tsc --noEmit --noErrorTruncation", |
67 | 68 | "prepack": "nps build.prepack", |
68 | 69 | "prepare": "nps build.prepack", |
69 | | - "prepublishOnly": "nps build", |
70 | | - "start": "nps", |
71 | | - "developing": "nps node-renderer.debug", |
72 | | - "eslint": "eslint .", |
73 | | - "check": "nps lint && nps format && nps test" |
| 70 | + "prepublishOnly": "yarn run build", |
| 71 | + "yalc:publish": "yalc publish", |
| 72 | + "yalc": "yalc" |
74 | 73 | }, |
75 | 74 | "repository": { |
76 | 75 | "type": "git", |
|
104 | 103 | "resetModules": true, |
105 | 104 | "resetMocks": true, |
106 | 105 | "roots": [ |
107 | | - "../packages/react-on-rails-pro-node-renderer" |
| 106 | + "../react-on-rails-pro-node-renderer" |
108 | 107 | ], |
109 | 108 | "setupFiles": [ |
110 | | - "../packages/react-on-rails-pro-node-renderer/tests/helper.ts" |
| 109 | + "../react-on-rails-pro-node-renderer/tests/helper.ts" |
111 | 110 | ], |
112 | 111 | "testEnvironment": "node", |
113 | 112 | "transform": { |
|
0 commit comments