|
1 | 1 | { |
2 | | - "name": "next-superjson-plugin", |
3 | | - "version": "0.4.9", |
4 | | - "description": "Automatically transform your Next.js Pages to use SuperJSON with SWC", |
5 | | - "author": "JH.Lee <[email protected]>", |
6 | | - "homepage": "https://github.com/blitz-js/next-superjson-plugin#readme", |
7 | | - "repository": { |
8 | | - "type": "git", |
9 | | - "url": "https://github.com/blitz-js/next-superjson-plugin.git" |
10 | | - }, |
11 | | - "bugs": { |
12 | | - "url": "https://github.com/blitz-js/next-superjson-plugin/issues", |
13 | | - |
14 | | - }, |
15 | | - "license": "MIT", |
16 | | - "keywords": [ |
17 | | - "swc-plugin" |
| 2 | + "name": "next-superjson-plugin", |
| 3 | + "version": "0.4.9", |
| 4 | + "description": "Automatically transform your Next.js Pages to use SuperJSON with SWC", |
| 5 | + "author": "JH.Lee <[email protected]>", |
| 6 | + "homepage": "https://github.com/blitz-js/next-superjson-plugin#readme", |
| 7 | + "repository": { |
| 8 | + "type": "git", |
| 9 | + "url": "https://github.com/blitz-js/next-superjson-plugin.git" |
| 10 | + }, |
| 11 | + "bugs": { |
| 12 | + "url": "https://github.com/blitz-js/next-superjson-plugin/issues", |
| 13 | + |
| 14 | + }, |
| 15 | + "license": "MIT", |
| 16 | + "keywords": [ |
| 17 | + "swc-plugin" |
| 18 | + ], |
| 19 | + "main": "next_superjson.wasm", |
| 20 | + "scripts": { |
| 21 | + "prepack": "tsc && cp target/wasm32-wasi/release/next_superjson.wasm .", |
| 22 | + "prepare": "husky install" |
| 23 | + }, |
| 24 | + "files": [ |
| 25 | + "tools.*" |
| 26 | + ], |
| 27 | + "peerDependencies": { |
| 28 | + "next": "^13", |
| 29 | + "superjson": "^1" |
| 30 | + }, |
| 31 | + "dependencies": { |
| 32 | + "hoist-non-react-statics": "^3.3.2" |
| 33 | + }, |
| 34 | + "devDependencies": { |
| 35 | + "@types/hoist-non-react-statics": "^3.3.1", |
| 36 | + "husky": "^8.0.2", |
| 37 | + "lint-staged": "^13.0.3", |
| 38 | + "next": "^13", |
| 39 | + "prettier": "^2.7.1", |
| 40 | + "superjson": "^1", |
| 41 | + "typescript": "^4.7.4" |
| 42 | + }, |
| 43 | + "lint-staged": { |
| 44 | + "*.rs": [ |
| 45 | + "rustfmt --" |
18 | 46 | ], |
19 | | - "main": "next_superjson.wasm", |
20 | | - "scripts": { |
21 | | - "prepack": "tsc && cp target/wasm32-wasi/release/next_superjson.wasm ." |
22 | | - }, |
23 | | - "files": [ |
24 | | - "tools.*" |
25 | | - ], |
26 | | - "peerDependencies": { |
27 | | - "next": "^13", |
28 | | - "superjson": "^1" |
29 | | - }, |
30 | | - "dependencies": { |
31 | | - "hoist-non-react-statics": "^3.3.2" |
32 | | - }, |
33 | | - "devDependencies": { |
34 | | - "@types/hoist-non-react-statics": "^3.3.1", |
35 | | - "next": "^13", |
36 | | - "superjson": "^1", |
37 | | - "typescript": "^4.7.4" |
38 | | - } |
| 47 | + "*.{ts,json}": [ |
| 48 | + "prettier --write" |
| 49 | + ] |
| 50 | + } |
39 | 51 | } |
0 commit comments