mirror of https://github.com/sveltejs/svelte
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
110 lines
3.3 KiB
110 lines
3.3 KiB
{
|
|
"name": "svelte",
|
|
"version": "1.23.4",
|
|
"description": "The magical disappearing UI framework",
|
|
"main": "compiler/svelte.js",
|
|
"files": [
|
|
"compiler",
|
|
"ssr",
|
|
"shared.js",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"test": "mocha --opts mocha.opts",
|
|
"precoverage": "export COVERAGE=true && nyc mocha --opts mocha.coverage.opts",
|
|
"coverage": "nyc report --reporter=text-lcov > coverage.lcov",
|
|
"codecov": "codecov",
|
|
"precodecov": "npm run coverage",
|
|
"lint": "eslint src test/*.js",
|
|
"build": "npm run build:main && npm run build:shared && npm run build:ssr",
|
|
"build:main": "node src/shared/_build.js && rollup -c rollup/rollup.config.main.js",
|
|
"build:shared": "rollup -c rollup/rollup.config.shared.js",
|
|
"build:ssr": "rollup -c rollup/rollup.config.ssr.js",
|
|
"dev": "node src/shared/_build.js && rollup -c rollup/rollup.config.main.js -w",
|
|
"dev:shared": "rollup -c rollup/rollup.config.shared.js -w",
|
|
"pretest": "npm run build",
|
|
"prepublish": "npm run build && npm run lint",
|
|
"prettier": "prettier --use-tabs --single-quote --trailing-comma es5 --write \"src/**/*.ts\""
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/sveltejs/svelte.git"
|
|
},
|
|
"keywords": [
|
|
"UI",
|
|
"framework",
|
|
"templates",
|
|
"templating"
|
|
],
|
|
"author": "Rich Harris",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/sveltejs/svelte/issues"
|
|
},
|
|
"homepage": "https://github.com/sveltejs/svelte#README",
|
|
"devDependencies": {
|
|
"@types/mocha": "^2.2.41",
|
|
"@types/node": "^7.0.22",
|
|
"acorn": "^4.0.4",
|
|
"babel": "^6.23.0",
|
|
"babel-core": "^6.23.1",
|
|
"babel-plugin-istanbul": "^3.0.0",
|
|
"babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
|
|
"babel-plugin-transform-es2015-block-scoping": "^6.23.0",
|
|
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
|
|
"babel-plugin-transform-es2015-parameters": "^6.23.0",
|
|
"babel-plugin-transform-es2015-spread": "^6.22.0",
|
|
"babel-preset-env": "^1.2.1",
|
|
"babel-register": "^6.23.0",
|
|
"chalk": "^1.1.3",
|
|
"codecov": "^1.0.1",
|
|
"console-group": "^0.3.2",
|
|
"css-tree": "1.0.0-alpha16",
|
|
"eslint": "^3.12.2",
|
|
"eslint-plugin-html": "^3.0.0",
|
|
"eslint-plugin-import": "^2.2.0",
|
|
"estree-walker": "^0.3.0",
|
|
"fuzzyset.js": "0.0.1",
|
|
"glob": "^7.1.1",
|
|
"jsdom": "^9.9.1",
|
|
"locate-character": "^2.0.0",
|
|
"magic-string": "^0.21.1",
|
|
"mocha": "^3.2.0",
|
|
"node-resolve": "^1.3.3",
|
|
"nyc": "^10.0.0",
|
|
"prettier": "^1.4.1",
|
|
"reify": "^0.4.4",
|
|
"rollup": "^0.39.0",
|
|
"rollup-plugin-buble": "^0.15.0",
|
|
"rollup-plugin-commonjs": "^7.0.0",
|
|
"rollup-plugin-json": "^2.1.0",
|
|
"rollup-plugin-node-resolve": "^2.0.0",
|
|
"rollup-plugin-typescript": "^0.8.1",
|
|
"rollup-watch": "^3.2.2",
|
|
"source-map": "^0.5.6",
|
|
"source-map-support": "^0.4.8",
|
|
"typescript": "^2.3.2"
|
|
},
|
|
"nyc": {
|
|
"include": [
|
|
"src/**/*.js",
|
|
"shared.js"
|
|
],
|
|
"exclude": [
|
|
"src/**/__test__.js",
|
|
"src/shared/**"
|
|
]
|
|
},
|
|
"babel": {
|
|
"plugins": [
|
|
"transform-es2015-arrow-functions",
|
|
"transform-es2015-block-scoping",
|
|
"transform-es2015-spread",
|
|
"transform-es2015-parameters",
|
|
"transform-es2015-destructuring",
|
|
"transform-es2015-modules-commonjs"
|
|
]
|
|
}
|
|
}
|