@m10s/cmp
Version:
Package containing scripts used by Schibsteds' sites to integrate with Sourcepoint CMP
70 lines (69 loc) • 2.29 kB
JSON
{
"name": "@m10s/cmp",
"version": "5.1.0",
"description": "Package containing scripts used by Schibsteds' sites to integrate with Sourcepoint CMP",
"main": "src/node/index.js",
"browser": "src/browser/index.js",
"files": [
"src/browser",
"src/node",
"dist",
"index.d.ts",
"!src/**/__tests__",
"!src/**/__mocks__"
],
"scripts": {
"test": "npm run genversion && jest",
"preexample": "npm run build",
"example": "rollup --watch --config-target='example' -c",
"clean": "rimraf dist && rm src/browser/version.js",
"prepublishOnly": "npm run build",
"prepare": "is-ci || husky install",
"prebuild": "npm run clean",
"build": "npm run genversion && rollup -c",
"build:debug": "npm run genversion && rollup -c --configDebug",
"start": "npm run genversion && npm run example",
"watch": "npm run genversion && npm-watch",
"genversion": "genversion src/browser/version.js --es6"
},
"types": "index.d.ts",
"watch": {
"build": "src/*.js"
},
"keywords": [
"schibsted",
"sourcepoint",
"cmp"
],
"author": "User Choices Team <privacy-team@schibsted.com>",
"contributors": [
{
"name": "Patrik Åkerstrand",
"email": "patrik.akerstrand@schibsted.com",
"url": "https://github.schibsted.io/patrik-akerstrand"
}
],
"license": "UNLICENSED",
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"babel-jest": "^27.0.6",
"babel-plugin-transform-modules-iife": "^1.0.0",
"genversion": "^3.0.2",
"husky": "^7.0.1",
"is-ci": "^3.0.0",
"jest": "^27.0.6",
"jest-each": "^27.0.6",
"npm-watch": "^0.10.0",
"postcss": "^8.3.5",
"rimraf": "^3.0.2",
"rollup": "^2.52.7",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-dotenv": "^0.5.0",
"rollup-plugin-generate-html-template": "^1.7.0",
"rollup-plugin-serve": "^1.1.0",
"rollup-plugin-terser": "^7.0.2"
}
}