Move to pnpm

main
kouhai dev 2022-11-08 22:33:42 -08:00
parent d496014be7
commit c004e4e093
4 changed files with 11371 additions and 10895 deletions

2
.gitignore vendored
View File

@ -6,3 +6,5 @@ dist-modern/
stats.json stats.json
report.html report.html
package-lock.json package-lock.json
.npmrc

View File

@ -1,89 +1,88 @@
{ {
"name": "emoji-mart-lazyload", "name": "@thouse/emoji-mart-lazy-load",
"version": "3.0.1k", "version": "0.0.0",
"description": "Customizable Slack-like emoji picker for React", "description": "Customizable Slack-like emoji picker for React",
"main": "dist/index.js", "main": "dist/index.js",
"module": "dist-es/index.js", "module": "dist-es/index.js",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git@github.com:mashirozx/emoji-mart.git" "url": "git@github.com:mashirozx/emoji-mart.git"
}, },
"keywords": [ "keywords": [
"react", "react",
"emoji", "emoji",
"picker" "picker"
], ],
"author": "Etienne Lemay", "author": "Etienne Lemay",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"bugs": { "bugs": {
"url": "https://github.com/mashirozx/emoji-mart/issues" "url": "https://github.com/mashirozx/emoji-mart/issues"
}, },
"homepage": "https://github.com/mashirozx/emoji-mart", "homepage": "https://github.com/mashirozx/emoji-mart",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"intersection-observer": "^0.12.0", "intersection-observer": "^0.12.0",
"prop-types": "^15.6.0" "prop-types": "^15.6.0"
}, },
"peerDependencies": { "peerDependencies": {
"react": "^0.14.0 || ^15.0.0-0 || ^16.0.0 || ^17.0.0" "react": "^0.14.0 || ^15.0.0-0 || ^16.0.0 || ^17.0.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.0.0", "@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0", "@babel/core": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.7.6", "@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.0.0", "@babel/preset-env": "^7.0.0",
"@babel/preset-react": "7.0.0", "@babel/preset-react": "7.0.0",
"@storybook/addon-actions": "^3.2.11", "@storybook/addon-actions": "^3.2.11",
"@storybook/addon-knobs": "^3.2.10", "@storybook/addon-knobs": "^3.2.10",
"@storybook/addon-links": "^3.2.10", "@storybook/addon-links": "^3.2.10",
"@storybook/addon-options": "3.2.10", "@storybook/addon-options": "3.2.10",
"@storybook/react": "^3.2.11", "@storybook/react": "^3.2.11",
"babel-jest": "^24.9.0", "babel-jest": "^24.9.0",
"babel-loader": "^8.0.0", "babel-loader": "^8.0.0",
"babel-plugin-transform-define": "^2.0.0", "babel-plugin-transform-define": "^2.0.0",
"emoji-datasource": "5.0.1", "emoji-datasource": "14.0.0",
"emojilib": "^2.2.1", "emojilib": "^2.2.1",
"enzyme": "^3.9.0", "enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.11.2", "enzyme-adapter-react-16": "^1.11.2",
"inflection": "1.10.0", "inflection": "1.10.0",
"jest": "^24.9.0", "jest": "^24.9.0",
"mkdirp": "0.5.1", "mkdirp": "0.5.1",
"prettier": "^1.16.4", "prettier": "^1.16.4",
"react": "^16.0.0", "react": "^16.0.0",
"react-dom": "^16.0.0", "react-dom": "^16.0.0",
"react-test-renderer": "^16.8.4", "react-test-renderer": "^16.8.4",
"rimraf": "2.5.2", "rimraf": "2.5.2",
"size-limit": "^0.11.4", "size-limit": "^0.11.4",
"webpack": "^3.6.0" "webpack": "^3.6.0"
}, },
"scripts": { "scripts": {
"clean": "rm -rf dist/ dist-es/ dist-modern/", "clean": "rm -rf dist/ dist-es/ dist-modern/",
"build:data": "node scripts/build-data", "build:data": "node scripts/build-data",
"build:dist": "npm run build:cjs && npm run build:es && npm run build:modern", "build:dist": "npm run build:cjs && npm run build:es && npm run build:modern",
"build:cjs": "BABEL_ENV=legacy-cjs babel src --out-dir dist --ignore '**/__tests__/*'", "build:cjs": "BABEL_ENV=legacy-cjs babel src --out-dir dist --ignore '**/__tests__/*'",
"build:es": "BABEL_ENV=legacy-es babel src --out-dir dist-es --ignore '**/__tests__/*'", "build:es": "BABEL_ENV=legacy-es babel src --out-dir dist-es --ignore '**/__tests__/*'",
"build:modern": "BABEL_ENV=modern babel src --out-dir dist-modern --ignore '**/__tests__/*'", "build:modern": "BABEL_ENV=modern babel src --out-dir dist-modern --ignore '**/__tests__/*'",
"build:docs": "cp css/emoji-mart.css docs && webpack --config ./docs/webpack.config.js", "build:docs": "cp css/emoji-mart.css docs && webpack --config ./docs/webpack.config.js",
"build": "npm run clean && npm run build:dist", "build": "npm run clean && npm run build:dist",
"watch": "BABEL_ENV=legacy-cjs babel src --watch --out-dir dist --ignore '**/__tests__/*'", "watch": "BABEL_ENV=legacy-cjs babel src --watch --out-dir dist --ignore '**/__tests__/*'",
"start": "npm run watch", "start": "npm run watch",
"react:clean": "rimraf node_modules/{react,react-dom,react-addons-test-utils}", "react:clean": "rimraf node_modules/{react,react-dom,react-addons-test-utils}",
"react:14": "npm run react:clean && npm i react@^0.14 react-dom@^0.14 react-addons-test-utils@^0.14 --save-dev", "react:14": "npm run react:clean && npm i react@^0.14 react-dom@^0.14 react-addons-test-utils@^0.14 --save-dev",
"react:15": "npm run react:clean && npm i react@^15 react-dom@^15 react-addons-test-utils@^15 --save-dev", "react:15": "npm run react:clean && npm i react@^15 react-dom@^15 react-addons-test-utils@^15 --save-dev",
"test": "npm run clean && jest", "test": "npm run clean && jest",
"test:size": "size-limit", "test:size": "size-limit",
"test:ssr": "node test/ssr.js", "test:ssr": "node test/ssr.js",
"prepublishOnly": "npm run build", "prepublishOnly": "npm run build",
"storybook": "start-storybook -p 6006", "storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook", "build-storybook": "build-storybook",
"prettier": "prettier --write \"{src,scripts,test,stories}/**/*.js\"", "prettier": "prettier --write \"{src,scripts,test,stories}/**/*.js\"",
"prettier:check": "prettier --check \"{src,scripts,test,stories}/**/*.js\"", "prettier:check": "prettier --check \"{src,scripts,test,stories}/**/*.js\""
"prepare": "npm run build:dist" },
}, "size-limit": [
"size-limit": [ {
{ "path": "dist-es/index.js",
"path": "dist-es/index.js", "limit": "82 KB"
"limit": "82 KB" }
} ]
] }
}

11281
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff

10806
yarn.lock

File diff suppressed because it is too large Load Diff