|
2 | 2 | "name": "react-hooks-svgdrawing", |
3 | 3 | "version": "1.3.0", |
4 | 4 | "license": "MIT", |
5 | | - "description": "react svg drawing library.", |
| 5 | + "description": "React svg drawing library. This library is a React extension of svg-drawing.", |
6 | 6 | "author": "kmkzt<[email protected]>", |
7 | 7 | "keywords": [ |
8 | 8 | "react", |
9 | 9 | "svg", |
10 | 10 | "drawing", |
11 | | - "two.js" |
| 11 | + "svg-drawing" |
12 | 12 | ], |
13 | 13 | "type": "module", |
14 | 14 | "types": "lib/index.d.ts", |
|
30 | 30 | |
31 | 31 | }, |
32 | 32 | "scripts": { |
| 33 | + "dev": "NODE_ENV=development webpack-dev-server", |
33 | 34 | "prod": "npm-run-all lib:*", |
34 | 35 | "lib:clear": "rimraf lib/*", |
35 | 36 | "lib:rollup": "NODE_ENV=production rollup -c", |
36 | 37 | "lib:tsc": "NODE_ENV=production tsc --emitDeclarationOnly", |
37 | | - "demo:dev": "NODE_ENV=development webpack-dev-server", |
38 | 38 | "demo:prod": "NODE_ENV=production webpack -p", |
39 | | - "test": "NODE_ENV=test jest --passWithNoTests", |
| 39 | + "test": "npm-run-all test:*", |
| 40 | + "test:unit": "NODE_ENV=test jest --passWithNoTests", |
| 41 | + "test:type": "NODE_ENV=production tsc --noEmit", |
40 | 42 | "prepare": "yarn prod", |
41 | 43 | "release": "release-it" |
42 | 44 | }, |
43 | 45 | "dependencies": { |
44 | | - "svg-drawing": "2.0.0-alpha.4" |
| 46 | + "svg-drawing": "2.0.0" |
45 | 47 | }, |
46 | 48 | "peerDependencies": { |
47 | 49 | "react": ">=16.8.0" |
48 | 50 | }, |
49 | 51 | "devDependencies": { |
50 | 52 | "@babel/core": "7.9.6", |
51 | 53 | "@babel/plugin-transform-runtime": "7.9.6", |
52 | | - "@babel/polyfill": "7.8.7", |
53 | 54 | "@babel/preset-env": "7.9.6", |
54 | 55 | "@babel/preset-react": "7.9.4", |
55 | 56 | "@babel/preset-typescript": "7.9.0", |
56 | 57 | "@rollup/plugin-commonjs": "11.0.2", |
57 | 58 | "@rollup/plugin-json": "4.0.2", |
58 | 59 | "@rollup/plugin-node-resolve": "7.1.1", |
59 | 60 | "@rollup/plugin-replace": "2.3.1", |
60 | | - "@types/autoprefixer": "9.6.1", |
61 | | - "@types/babel-core": "6.25.6", |
62 | | - "@types/babel__core": "7.1.2", |
63 | 61 | "@types/dotenv-webpack": "1.7.0", |
64 | 62 | "@types/eslint": "6.8.0", |
65 | 63 | "@types/eslint-plugin-prettier": "3.1.0", |
66 | 64 | "@types/html-webpack-plugin": "3.2.1", |
67 | 65 | "@types/jest": "24.0.18", |
68 | 66 | "@types/node": "12.7.3", |
69 | | - "@types/node-sass": "4.11.0", |
70 | 67 | "@types/prettier": "1.18.2", |
71 | 68 | "@types/react": "16.9.2", |
72 | 69 | "@types/react-dom": "16.9.0", |
|
79 | 76 | "@typescript-eslint/eslint-plugin": "2.31.0", |
80 | 77 | "@typescript-eslint/parser": "2.31.0", |
81 | 78 | "@typescript-eslint/typescript-estree": "2.31.0", |
82 | | - "autoprefixer": "9.6.1", |
83 | | - "babel-core": "6.26.3", |
84 | 79 | "babel-jest": "24.9.0", |
85 | 80 | "babel-loader": "8.0.6", |
86 | 81 | "babel-plugin-add-module-exports": "1.0.2", |
87 | 82 | "babel-plugin-transform-react-remove-prop-types": "0.4.24", |
88 | | - "babel-preset-es2015": "6.24.1", |
89 | | - "css-loader": "3.2.0", |
90 | 83 | "eslint": "6.8.0", |
91 | 84 | "eslint-config-prettier": "6.11.0", |
92 | 85 | "eslint-loader": "4.0.2", |
|
96 | 89 | "html-loader": "0.5.5", |
97 | 90 | "html-webpack-plugin": "3.2.0", |
98 | 91 | "jest": "24.9.0", |
99 | | - "node-sass": "4.12.0", |
100 | 92 | "npm-run-all": "4.1.5", |
101 | | - "postcss-loader": "3.0.0", |
102 | 93 | "pressure": "2.1.2", |
103 | 94 | "prettier": "1.18.2", |
104 | 95 | "react": "16.9.0", |
|
111 | 102 | "rollup-plugin-size-snapshot": "0.11.0", |
112 | 103 | "rollup-plugin-sourcemaps": "0.5.0", |
113 | 104 | "rollup-plugin-terser": "5.2.0", |
114 | | - "sass-loader": "8.0.0", |
115 | | - "style-loader": "1.0.0", |
116 | | - "ts-jest": "24.0.2", |
117 | 105 | "ts-loader": "6.0.4", |
118 | 106 | "tsconfig-paths-webpack-plugin": "3.2.0", |
119 | 107 | "typescript": "3.6.2", |
|
0 commit comments