2014-08-27 02:01:42 +04:00
|
|
|
{
|
2019-06-26 01:23:14 +03:00
|
|
|
"name": "select2",
|
|
|
|
"version": "5.0.0-snapshot",
|
|
|
|
"description": "",
|
|
|
|
"main": "bridge/src/select25.tsx",
|
|
|
|
"scripts": {
|
|
|
|
"unit-tests": "jest --env=jsdom -c jest.unit.config.js",
|
|
|
|
"integration-tests": "jest -c jest.int.config.js",
|
|
|
|
"lint": "tslint '**/{src,test}/**/*.{ts,tsx}'",
|
|
|
|
"dev": "parcel dev/index.html -d dev/dist",
|
|
|
|
"dist": "rollup -c rollup.config.js"
|
2017-09-24 00:07:29 +03:00
|
|
|
},
|
2019-06-26 01:23:14 +03:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/select2/select2.git"
|
|
|
|
},
|
|
|
|
"keywords": [],
|
|
|
|
"license": "MIT",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/select2/select2/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/select2/select2#readme",
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/expect-puppeteer": "^3.3.1",
|
|
|
|
"@types/jest": "^24.0.13",
|
|
|
|
"@types/jest-environment-puppeteer": "^4.0.0",
|
|
|
|
"@types/puppeteer": "^1.12.4",
|
|
|
|
"babel-preset-env": "^1.7.0",
|
|
|
|
"babel-preset-preact": "^1.1.0",
|
|
|
|
"cssnano": "^4.1.10",
|
|
|
|
"husky": "^2.5.0",
|
|
|
|
"jest": "^24.8.0",
|
|
|
|
"jest-puppeteer": "^4.2.0",
|
|
|
|
"jest-serializer-html-string": "^1.0.1",
|
|
|
|
"lint-staged": "^8.1.7",
|
|
|
|
"npm-check-updates": "^3.1.10",
|
|
|
|
"parcel-bundler": "^1.12.3",
|
|
|
|
"preact-render-to-string": "^5.0.3",
|
|
|
|
"prettier": "^1.17.1",
|
|
|
|
"pretty": "^2.0.0",
|
|
|
|
"puppeteer": "^1.17.0",
|
2019-06-27 18:42:41 +03:00
|
|
|
"rollup": "^1.16.2",
|
2019-06-26 01:23:14 +03:00
|
|
|
"rollup-plugin-babel": "^4.3.2",
|
|
|
|
"rollup-plugin-commonjs": "^10.0.0",
|
2019-06-27 18:42:41 +03:00
|
|
|
"rollup-plugin-license": "^0.9.0",
|
2019-06-26 01:23:14 +03:00
|
|
|
"rollup-plugin-node-resolve": "^5.0.1",
|
|
|
|
"rollup-plugin-replace": "^2.2.0",
|
|
|
|
"rollup-plugin-scss": "^1.0.1",
|
|
|
|
"rollup-plugin-typescript": "^1.0.1",
|
|
|
|
"rollup-plugin-uglify": "^6.0.2",
|
|
|
|
"sass": "^1.20.1",
|
|
|
|
"ts-jest": "^24.0.2",
|
|
|
|
"tslib": "^1.9.3",
|
|
|
|
"tslint": "^5.17.0",
|
|
|
|
"tslint-config-prettier": "^1.18.0",
|
|
|
|
"typescript": "^3.5.1",
|
|
|
|
"typescript-tslint-plugin": "^0.4.0"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"preact": "^10.0.0-beta.3"
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2019-06-28 03:33:40 +03:00
|
|
|
"pre-commit": "lint-staged && npm run dist && git add dist"
|
2019-06-26 01:23:14 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{tsx,ts}": [
|
|
|
|
"tslint --fix",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.{tsx,ts,js,jsx}": [
|
|
|
|
"jest --env=jsdom --bail --findRelatedTests -c jest.unit.config.js"
|
|
|
|
],
|
|
|
|
"*.{js,css,scss,json,md,jsx,tsx,ts}": [
|
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
]
|
2015-01-10 00:09:30 +03:00
|
|
|
}
|
2014-08-27 02:01:42 +04:00
|
|
|
}
|