2016-03-15 23:42:10 +01:00
|
|
|
{
|
2016-07-11 11:29:42 +02:00
|
|
|
"name": "choices.js",
|
2019-10-23 12:01:05 +02:00
|
|
|
"version": "7.1.5",
|
2016-07-11 10:46:48 +02:00
|
|
|
"description": "A vanilla JS customisable text input/select box plugin",
|
2019-10-24 19:21:40 +02:00
|
|
|
"main": "./public/assets/scripts/choices.js",
|
2017-11-29 10:14:37 +01:00
|
|
|
"types": "./types/index.d.ts",
|
2016-03-15 23:42:10 +01:00
|
|
|
"scripts": {
|
2018-10-13 13:18:02 +02:00
|
|
|
"start": "run-p js:watch css:watch",
|
2019-10-22 23:20:40 +02:00
|
|
|
"build": "run-p js:build css:build",
|
2019-10-21 18:20:39 +02:00
|
|
|
"lint": "eslint src/scripts",
|
|
|
|
"coverage": "nyc --reporter=lcov --reporter=text --reporter=text-summary mocha",
|
2019-01-25 00:21:00 +01:00
|
|
|
"bundlesize": "bundlesize",
|
2018-10-10 22:00:32 +02:00
|
|
|
"cypress:run": "$(npm bin)/cypress run",
|
|
|
|
"cypress:open": "$(npm bin)/cypress open",
|
2019-10-22 23:20:40 +02:00
|
|
|
"cypress:ci": "cypress run --record --group --ci-build-id $GITHUB_SHA",
|
|
|
|
"test": "run-s test:unit test:e2e",
|
2019-10-21 18:20:39 +02:00
|
|
|
"test:unit": "mocha",
|
|
|
|
"test:unit:watch": "mocha --watch --inspect=5556",
|
2018-10-13 12:19:24 +02:00
|
|
|
"test:e2e": "run-p --race start cypress:run",
|
2018-10-13 13:18:02 +02:00
|
|
|
"js:watch": "NODE_ENV=development node server.js",
|
2019-02-09 19:13:25 +01:00
|
|
|
"js:build": "webpack --config webpack.config.prod.js",
|
2016-03-15 23:42:10 +01:00
|
|
|
"css:watch": "nodemon -e scss -x \"npm run css:build\"",
|
2019-10-22 23:20:40 +02:00
|
|
|
"css:build": "run-s css:sass css:prefix css:min",
|
|
|
|
"css:sass": "node-sass --output-style expanded --include-path scss src/styles/base.scss public/assets/styles/base.css && node-sass --output-style expanded --include-path scss src/styles/choices.scss public/assets/styles/choices.css",
|
2019-10-22 08:02:48 +02:00
|
|
|
"css:prefix": "postcss public/assets/styles/*.css --use autoprefixer --no-map --env prod --dir public/assets/styles",
|
2019-10-22 23:20:40 +02:00
|
|
|
"css:min": "csso public/assets/styles/base.css --output public/assets/styles/base.min.css && csso public/assets/styles/choices.css --output public/assets/styles/choices.min.css",
|
2018-10-30 20:22:01 +01:00
|
|
|
"deploy": "git subtree push --prefix public origin gh-pages",
|
2019-10-23 11:27:53 +02:00
|
|
|
"postversion": "git push --no-verify --atomic --follow-tags",
|
2019-10-21 18:20:39 +02:00
|
|
|
"prepublishOnly": "npm run build"
|
2016-03-15 23:42:10 +01:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/jshjohnson/Choices.git"
|
|
|
|
},
|
|
|
|
"author": "Josh Johnson",
|
|
|
|
"license": "MIT",
|
2018-11-24 14:40:51 +01:00
|
|
|
"files": [
|
|
|
|
"public/assets/scripts",
|
|
|
|
"public/assets/styles",
|
|
|
|
"src",
|
2019-10-21 18:20:39 +02:00
|
|
|
"!src/**/*.test.js",
|
2018-11-24 14:40:51 +01:00
|
|
|
"types"
|
|
|
|
],
|
2016-03-15 23:42:10 +01:00
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/jshjohnson/Choices/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/jshjohnson/Choices#readme",
|
2018-07-19 16:32:25 +02:00
|
|
|
"keywords": [
|
|
|
|
"customisable",
|
|
|
|
"input",
|
|
|
|
"select",
|
|
|
|
"vanilla",
|
|
|
|
"plugin",
|
|
|
|
"js"
|
|
|
|
],
|
2016-03-15 23:42:10 +01:00
|
|
|
"devDependencies": {
|
2019-10-21 21:03:57 +02:00
|
|
|
"@babel/core": "^7.6.4",
|
2019-10-22 18:08:43 +02:00
|
|
|
"@babel/preset-env": "^7.6.3",
|
|
|
|
"@babel/register": "^7.6.2",
|
2019-10-21 22:43:38 +02:00
|
|
|
"autoprefixer": "^9.6.5",
|
2019-10-22 18:08:43 +02:00
|
|
|
"babel-loader": "^8.0.6",
|
2019-10-21 18:20:39 +02:00
|
|
|
"bundlesize": "^0.18.0",
|
2019-02-09 19:13:25 +01:00
|
|
|
"chai": "^4.2.0",
|
2019-10-23 10:32:25 +02:00
|
|
|
"csso-cli": "^3.0.0",
|
2019-10-24 08:50:00 +02:00
|
|
|
"cypress": "3.5.0",
|
2019-10-21 18:20:39 +02:00
|
|
|
"eslint": "^6.5.1",
|
|
|
|
"eslint-config-airbnb-base": "^14.0.0",
|
|
|
|
"eslint-config-prettier": "^6.4.0",
|
|
|
|
"eslint-loader": "^3.0.2",
|
|
|
|
"eslint-plugin-cypress": "^2.7.0",
|
|
|
|
"eslint-plugin-import": "^2.18.2",
|
|
|
|
"eslint-plugin-prettier": "^3.1.1",
|
2019-02-09 19:13:25 +01:00
|
|
|
"express": "^4.16.4",
|
2019-10-21 18:20:39 +02:00
|
|
|
"husky": "^3.0.9",
|
|
|
|
"jsdom": "^15.2.0",
|
2019-10-24 19:13:06 +02:00
|
|
|
"lint-staged": "^9.4.2",
|
2019-10-21 18:20:39 +02:00
|
|
|
"mocha": "^6.2.2",
|
2019-10-22 23:20:40 +02:00
|
|
|
"node-sass": "^4.12.0",
|
2019-02-09 19:13:25 +01:00
|
|
|
"nodemon": "^1.18.10",
|
|
|
|
"npm-run-all": "^4.1.5",
|
2019-10-21 18:20:39 +02:00
|
|
|
"nyc": "^14.1.1",
|
2019-10-21 22:43:38 +02:00
|
|
|
"postcss-cli": "^6.1.3",
|
2019-10-24 19:13:06 +02:00
|
|
|
"prettier": "^1.18.2",
|
2019-10-21 18:20:39 +02:00
|
|
|
"sinon": "^7.5.0",
|
2019-10-22 18:08:43 +02:00
|
|
|
"webpack": "^4.41.2",
|
|
|
|
"webpack-cli": "^3.3.9",
|
|
|
|
"webpack-dev-middleware": "^3.7.2",
|
2019-10-23 09:45:49 +02:00
|
|
|
"webpack-hot-middleware": "^2.25.0"
|
2016-03-30 16:04:21 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-10-22 18:08:43 +02:00
|
|
|
"deepmerge": "^4.2.0",
|
2019-10-23 20:11:22 +02:00
|
|
|
"fuse.js": "^3.4.5",
|
2019-10-22 18:08:43 +02:00
|
|
|
"redux": "^4.0.4"
|
2016-09-06 19:12:50 +02:00
|
|
|
},
|
|
|
|
"npmName": "choices.js",
|
2016-10-26 16:43:15 +02:00
|
|
|
"npmFileMap": [
|
|
|
|
{
|
|
|
|
"files": [
|
2018-10-28 11:51:47 +01:00
|
|
|
"public/assets/scripts/*",
|
|
|
|
"public/assets/styles/*",
|
2018-05-27 12:57:21 +02:00
|
|
|
"src/icons/*"
|
2016-10-26 16:43:15 +02:00
|
|
|
]
|
|
|
|
}
|
2017-07-24 16:18:43 +02:00
|
|
|
],
|
|
|
|
"nyc": {
|
|
|
|
"include": [
|
2018-05-28 18:56:36 +02:00
|
|
|
"src/scripts/**/**/*.js"
|
2017-07-24 16:18:43 +02:00
|
|
|
],
|
|
|
|
"exclude": [
|
2018-05-28 18:56:36 +02:00
|
|
|
"src/scripts/**/**/*.test.js"
|
2017-07-24 16:18:43 +02:00
|
|
|
]
|
2019-01-25 00:21:00 +01:00
|
|
|
},
|
|
|
|
"bundlesize": [
|
|
|
|
{
|
|
|
|
"path": "public/assets/scripts/choices.min.js",
|
2019-10-22 18:08:43 +02:00
|
|
|
"maxSize": "20 kB"
|
2019-02-12 19:04:50 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "public/assets/styles/choices.min.css",
|
2019-10-22 23:20:40 +02:00
|
|
|
"maxSize": "1.8 kB"
|
2019-01-25 00:21:00 +01:00
|
|
|
}
|
|
|
|
]
|
2017-10-03 14:17:31 +02:00
|
|
|
}
|