|
|
|
@ -5,7 +5,8 @@
|
|
|
|
|
"main": "dist/svelte.umd.js",
|
|
|
|
|
"module": "dist/svelte.es.js",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"test": "mocha --opts mocha.opts --recursive ./**/__test__.js test/test.js",
|
|
|
|
|
"test": "nyc mocha --opts mocha.opts --recursive ./**/__test__.js test/test.js",
|
|
|
|
|
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
|
|
|
|
"lint": "eslint compiler",
|
|
|
|
|
"build": "rollup -c",
|
|
|
|
|
"prebuild": "npm test",
|
|
|
|
@ -28,11 +29,16 @@
|
|
|
|
|
},
|
|
|
|
|
"homepage": "https://github.com/sveltejs/svelte#README",
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"babel-plugin-istanbul": "^3.0.0",
|
|
|
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.18.0",
|
|
|
|
|
"babel-register": "^6.18.0",
|
|
|
|
|
"codecov": "^1.0.1",
|
|
|
|
|
"eslint": "^3.10.2",
|
|
|
|
|
"eslint-plugin-import": "^2.2.0",
|
|
|
|
|
"jsdom": "^9.8.3",
|
|
|
|
|
"mocha": "^3.1.2",
|
|
|
|
|
"node-resolve": "^1.3.3",
|
|
|
|
|
"nyc": "^9.0.1",
|
|
|
|
|
"reify": "^0.4.0",
|
|
|
|
|
"rollup": "^0.36.3",
|
|
|
|
|
"rollup-plugin-node-resolve": "^2.0.0"
|
|
|
|
@ -42,5 +48,18 @@
|
|
|
|
|
"estree-walker": "^0.3.0",
|
|
|
|
|
"locate-character": "^2.0.0",
|
|
|
|
|
"magic-string": "^0.16.0"
|
|
|
|
|
},
|
|
|
|
|
"nyc": {
|
|
|
|
|
"include": [
|
|
|
|
|
"compiler/**/*.js"
|
|
|
|
|
],
|
|
|
|
|
"exclude": [
|
|
|
|
|
"compiler/**/__test__.js"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"babel": {
|
|
|
|
|
"plugins": [
|
|
|
|
|
"transform-es2015-modules-commonjs"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|